From 8e6a2a44e7fb6d4d6afb8bf61657f7bef7ed5ede Mon Sep 17 00:00:00 2001 From: c3ma Date: Fri, 16 Oct 2020 21:50:42 +0200 Subject: [PATCH] mode3 is controllable via MQTT --- esp32/src/main.cpp | 58 +++++++--------------------------------------- 1 file changed, 8 insertions(+), 50 deletions(-) diff --git a/esp32/src/main.cpp b/esp32/src/main.cpp index a4c3df0..0710ec3 100644 --- a/esp32/src/main.cpp +++ b/esp32/src/main.cpp @@ -26,7 +26,6 @@ const unsigned long TEMPREADCYCLE = 30000; /**< Check temperature all half minut /********************* non volatile enable after deepsleep *******************************/ -RTC_DATA_ATTR bool coldBoot = true; RTC_DATA_ATTR long rtcDeepSleepTime = 0; /**< Time, when the microcontroller shall be up again */ RTC_DATA_ATTR long rtcMoistureTrigger0 = 0; /**