From 63783449e3e12ae6bcd32d97dffc6c65bd72c60e Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 4 Mar 2021 18:15:01 +0100 Subject: [PATCH] too much debug! --- src/dallassensor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dallassensor.cpp b/src/dallassensor.cpp index 80f1c0348..f54822308 100644 --- a/src/dallassensor.cpp +++ b/src/dallassensor.cpp @@ -64,7 +64,7 @@ void DallasSensor::loop() { if (state_ == State::IDLE) { if (time_now - last_activity_ >= READ_INTERVAL_MS) { -#ifdef EMSESP_DEBUG +#ifdef EMSESP_DEBUG_SENSOR LOG_DEBUG(F("Read sensor temperature")); #endif if (bus_.reset() || parasite_) { @@ -90,7 +90,7 @@ void DallasSensor::loop() { } } else if (state_ == State::READING) { if (temperature_convert_complete() && (time_now - last_activity_ > CONVERSION_MS)) { -#ifdef EMSESP_DEBUG +#ifdef EMSESP_DEBUG_SENSOR LOG_DEBUG(F("Scanning for sensors")); #endif bus_.reset_search();