mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-07-04 00:41:28 +02:00
prueba2
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user