mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-02-11 02:04:14 +01:00
prueba2
This commit is contained in:
parent
d454ab4ba2
commit
a6ae8523fa
|
|
@ -271,6 +271,7 @@ namespace POWER_Utils {
|
|||
delay(1000);
|
||||
BATTERY_Utils::setup();
|
||||
BATTERY_Utils::startupBatteryHealth();
|
||||
setCpuFrequencyMhz(80);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -184,7 +184,6 @@ namespace STATION_Utils {
|
|||
}
|
||||
}
|
||||
if (saveNewDigiEcoModeConfig) {
|
||||
//setCpuFrequencyMhz(80);
|
||||
Config.writeFile();
|
||||
delay(1000);
|
||||
displayToggle(false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue