From b56a43742d411d8f0a98864ead8159a21ae3b908 Mon Sep 17 00:00:00 2001 From: Daniel Eichhorn Date: Sat, 22 Jul 2017 16:07:30 +0200 Subject: [PATCH] Removed code which would not allow to go to other screens --- esp8266-weather-station-color.ino | 4 ---- 1 file changed, 4 deletions(-) diff --git a/esp8266-weather-station-color.ino b/esp8266-weather-station-color.ino index 391a39a..6e381ee 100644 --- a/esp8266-weather-station-color.ino +++ b/esp8266-weather-station-color.ino @@ -312,10 +312,6 @@ void loop() { lastDownloadUpdate = millis(); } - if (screen >0 && millis() - timerPress >= 10000){ // after 2 minutes go to sleep - screen = 0; - } - if (SLEEP_INTERVAL_SECS && millis() - timerPress >= SLEEP_INTERVAL_SECS * 1000){ // after 2 minutes go to sleep drawProgress(25,"Going to Sleep!"); delay(1000);