diff --git a/source/shoh/src/threads/temperature/SensorTempSHT20.cpp b/source/shoh/src/threads/temperature/SensorTempSHT20.cpp index fe1110a..25ad4b0 100644 --- a/source/shoh/src/threads/temperature/SensorTempSHT20.cpp +++ b/source/shoh/src/threads/temperature/SensorTempSHT20.cpp @@ -98,7 +98,7 @@ uint16_t SensorTempSHT20::read() crc = rbuf[2]; if (this->crc_check(rbuf, 2, crc)) - LOG_WARNING("Temperature sensor reported crc mismatch.\nRaw data: %04x; CRC: %x", raw_temp, crc); + LOG_WARNING("Temperature sensor reported crc mismatch. Raw data: %04x; CRC: %x", raw_temp, crc); return raw_temp; } diff --git a/source/shoh/src/threads/temperature/Temperature.cpp b/source/shoh/src/threads/temperature/Temperature.cpp index 3e49259..45efd81 100644 --- a/source/shoh/src/threads/temperature/Temperature.cpp +++ b/source/shoh/src/threads/temperature/Temperature.cpp @@ -43,7 +43,7 @@ void Temperature::taskFunction() void thread_temperature(void* pvParams) { ThreadCommon::CommonManagers * manager = static_cast(pvParams); - I2C_config conf{0x4a, 100000}; + I2C_config conf{0, 100000}; I2C i2c(conf); Temperature t(manager->qm, &i2c); t.taskFunction();