mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Shorten cryptic message
This commit is contained in:
parent
3890237a5f
commit
e843bc929e
@ -162,7 +162,7 @@ bool DhtRead(uint32_t sensor) {
|
||||
break;
|
||||
}
|
||||
if (isnan(temperature) || isnan(humidity)) {
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid NAN reading"));
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid reading"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ bool DhtRead(uint32_t sensor) {
|
||||
float humidity = Dht[sensor].dht->readHumidity(false);
|
||||
|
||||
if (isnan(temperature) || isnan(humidity)) {
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid NAN reading"));
|
||||
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_DHT "Invalid reading"));
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user