temp: [#61] Make things a little clearer.
* Newline in log isn't nice. * I managed to confuse even myself with this 0x4a. It's actually not used anywhere currently.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user