Skip to content

Commit

Permalink
Removed code which would not allow to go to other screens
Browse files Browse the repository at this point in the history
  • Loading branch information
squix78 committed Jul 22, 2017
1 parent 45069f8 commit b56a437
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions esp8266-weather-station-color.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b56a437

Please sign in to comment.