Removed code which would not allow to go to other screens

This commit is contained in:
Daniel Eichhorn
2017-07-22 16:07:30 +02:00
parent 45069f8471
commit b56a43742d

View File

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