From 6d94bb224cd92b77560189d8c7db62f31058277b Mon Sep 17 00:00:00 2001 From: Marcus Date: Tue, 19 Nov 2024 00:32:48 +0100 Subject: [PATCH] fix sensorindex iteration --- Arduino/CanGrow/include/Webserver/Page_system.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino/CanGrow/include/Webserver/Page_system.h b/Arduino/CanGrow/include/Webserver/Page_system.h index e3ebcc5..30415f8 100644 --- a/Arduino/CanGrow/include/Webserver/Page_system.h +++ b/Arduino/CanGrow/include/Webserver/Page_system.h @@ -917,7 +917,7 @@ void WebPage_system_sensor(AsyncWebServerRequest *request) { String Html_SelOpt_type_WebPage_system_sensor_add(byte selectId = 255) { String sensorType_html; // go through all available Output Devices, skip 0 because it means unconfigured - for(byte i = 1; i < SensorIndex_length; i++) { + for(byte i = 1; i <= SensorIndex_length; i++) { sensorType_html += "