mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-10-28 15:53:48 +00:00
Changed first sleep for ESP32 repeaters with PowerSaving from 2 to 5 minutes
This commit is contained in:
1 parent
b522479d11
commit
d838bdbb92
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user