Skip to content

Commit

Permalink
Update epdNtpClockV1.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
KamadoTanjiro-beep committed Jun 27, 2024
1 parent e1fe193 commit 2d046bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions epdNtpClockV1.ino
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ void setup() {

pref.putBool("timeNeedsUpdate", timeNeedsUpdate);

//esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
Serial.println("Setup ESP32 to sleep for every " + String(TIME_TO_SLEEP / 60) + " Mins");
//Go to sleep now
Serial.println("Going to sleep now");
Serial.flush();
delay(50);
//esp_deep_sleep_start();
esp_deep_sleep_start();
}

void loop() {
Expand Down

0 comments on commit 2d046bd

Please sign in to comment.