From d838bdbb929cea7869fc42e7905179d6d6fcb8d2 Mon Sep 17 00:00:00 2001 From: Kevin Le Date: Thu, 22 Oct 2026 23:00:04 +0700 Subject: [PATCH] Changed first sleep for ESP32 repeaters with PowerSaving from 2 to 5 minutes --- examples/simple_repeater/main.cpp | 2 +- src/helpers/CommonCLI.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/simple_repeater/main.cpp b/examples/simple_repeater/main.cpp index 299eb3ed8..5fe9b0efb 100644 --- a/examples/simple_repeater/main.cpp +++ b/examples/simple_repeater/main.cpp @@ -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; diff --git a/src/helpers/CommonCLI.cpp b/src/helpers/CommonCLI.cpp index 9de3c2a47..4c0dee97b 100644 --- a/src/helpers/CommonCLI.cpp +++ b/src/helpers/CommonCLI.cpp @@ -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