From e843bc929ebb1c5befd3eb04503f0457f353a2c8 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 29 Dec 2021 15:18:55 +0100 Subject: [PATCH] Shorten cryptic message --- tasmota/xsns_06_dht.ino | 2 +- tasmota/xsns_06_esp32_dht.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xsns_06_dht.ino b/tasmota/xsns_06_dht.ino index 472e2447e..bd6937f19 100644 --- a/tasmota/xsns_06_dht.ino +++ b/tasmota/xsns_06_dht.ino @@ -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; } diff --git a/tasmota/xsns_06_esp32_dht.ino b/tasmota/xsns_06_esp32_dht.ino index b49ea8942..e6c6308a7 100644 --- a/tasmota/xsns_06_esp32_dht.ino +++ b/tasmota/xsns_06_esp32_dht.ino @@ -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; }