Shorten cryptic message

This commit is contained in:
Theo Arends 2021-12-29 15:18:55 +01:00
parent 3890237a5f
commit e843bc929e
2 changed files with 2 additions and 2 deletions

View File

@ -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;
}

View File

@ -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;
}