From 01136a19a5a89c38561da371af5ad29ab7346633 Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 3 Nov 2025 18:18:08 +0100 Subject: [PATCH] make wait uint16_t to allow max 2000 --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 2bf2fe7a7..5ca1e9a4d 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -214,7 +214,7 @@ bool System::command_message(const char * value, const int8_t id, JsonObject out EMSESP::webSchedulerService.computed_value.clear(); EMSESP::webSchedulerService.raw_value = value; - for (uint8_t wait = 0; wait < 2000 && !EMSESP::webSchedulerService.raw_value.empty(); wait++) { + for (uint16_t wait = 0; wait < 2000 && !EMSESP::webSchedulerService.raw_value.empty(); wait++) { delay(1); }