mirror of https://github.com/arendst/Tasmota.git
LOG_LEVEL_DEBUG_MORE for raw data
This commit is contained in:
parent
a01cd1ee82
commit
9d5fd97b2f
|
@ -213,7 +213,7 @@ bool HdcRead(void) {
|
||||||
temp_data = (uint16_t) ((sensor_data[0] << 8) | sensor_data[1]);
|
temp_data = (uint16_t) ((sensor_data[0] << 8) | sensor_data[1]);
|
||||||
rh_data = (uint16_t) ((sensor_data[2] << 8) | sensor_data[3]);
|
rh_data = (uint16_t) ((sensor_data[2] << 8) | sensor_data[3]);
|
||||||
|
|
||||||
AddLog(LOG_LEVEL_DEBUG, PSTR("HdcRead: temperature raw data: 0x%04x; humidity raw data: 0x%04x"), temp_data, rh_data);
|
AddLog(LOG_LEVEL_DEBUG_MORE, PSTR("HdcRead: temperature raw data: 0x%04x; humidity raw data: 0x%04x"), temp_data, rh_data);
|
||||||
|
|
||||||
// read the temperature from the first 16 bits of the result
|
// read the temperature from the first 16 bits of the result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue