From 61048f58682d406e2b48165185008392e1e33cb4 Mon Sep 17 00:00:00 2001 From: Kevin Le Date: Wed, 19 Aug 2026 10:19:05 +0700 Subject: [PATCH] Added missing POWERSAVING_FIRSTSLEEP_SECS for room servers --- examples/simple_room_server/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/simple_room_server/main.cpp b/examples/simple_room_server/main.cpp index 156c77ee8..efa5c8b82 100644 --- a/examples/simple_room_server/main.cpp +++ b/examples/simple_room_server/main.cpp @@ -26,6 +26,9 @@ static char command[MAX_POST_TEXT_LEN+1]; static char ethernet_command[MAX_POST_TEXT_LEN+1]; #endif +// For power saving +unsigned long POWERSAVING_FIRSTSLEEP_SECS = 120; // The first sleep (if enabled) from boot + void setup() { Serial.begin(115200); delay(1000);