Changed first sleep for ESP32 repeaters with PowerSaving from 2 to 5 minutes

This commit is contained in:
Kevin Le committed 2026-10-22 23:00:04 +07:00
1 parent b522479d11
commit d838bdbb92
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ static char ethernet_command[160];
#endif
// For power saving
unsigned long POWERSAVING_FIRSTSLEEP_SECS = 120; // The first sleep (if enabled) from boot
unsigned long POWERSAVING_FIRSTSLEEP_SECS = 300; // The first sleep (if enabled) from boot
#if defined(PIN_USER_BTN) && defined(_SEEED_SENSECAP_SOLAR_H_)
static unsigned long userBtnDownAt = 0;
+1 -1
View File
@@ -489,7 +489,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, char* command, char* re
_prefs->powersaving_enabled = 1;
savePrefs();
// PowerSaving variant
strcpy(reply, "on - After 2 minutes. Serial console will be off.");
strcpy(reply, "on - After 5 minutes. Serial console will be off.");
#elif defined(WITH_BRIDGE)
strcpy(reply, "Bridge not supported");
#else