smbus: reduce debug info.

This commit is contained in:
Sorgelig
2022-05-12 07:12:55 +08:00
parent 13ecfc748c
commit a62be08e28
2 changed files with 2 additions and 2 deletions

View File

@@ -108,7 +108,7 @@ int i2c_smbus_read_byte_data(int file, uint8_t command)
int i2c_smbus_write_byte_data(int file, uint8_t command, uint8_t value)
{
printf("i2c: %02X %02X\n", command, value);
//printf("i2c: %02X %02X\n", command, value);
union i2c_smbus_data data;
data.byte = value;
return i2c_smbus_access(file, I2C_SMBUS_WRITE, command, I2C_SMBUS_BYTE_DATA, &data);