mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-06-27 13:31:12 +02:00
prueba2
This commit is contained in:
@@ -51,6 +51,9 @@ namespace SLEEP_Utils {
|
||||
uint32_t timeToSleep = getSecondsToSleep();
|
||||
esp_sleep_enable_timer_wakeup(timeToSleep * 1000000); // 1 min = 60sec
|
||||
Serial.print("(Sleeping : "); Serial.print(timeToSleep); Serial.println("seconds)");
|
||||
|
||||
//esp_sleep_enable_timer_wakeup(getSecondsToSleep() * 1000000); // 1 min = 60sec
|
||||
|
||||
delay(100);
|
||||
LoRa_Utils::wakeRadio();
|
||||
esp_light_sleep_start();
|
||||
|
||||
Reference in New Issue
Block a user