From 6ff7af0fb00e3516bec0655b288769d1d1138696 Mon Sep 17 00:00:00 2001 From: DeltaLima Date: Wed, 11 Dec 2024 23:36:54 +0100 Subject: [PATCH] firmware - wrong bool --- Arduino/CanGrow/CanGrow_WebFunctions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino/CanGrow/CanGrow_WebFunctions.h b/Arduino/CanGrow/CanGrow_WebFunctions.h index e606161..5ab8b07 100644 --- a/Arduino/CanGrow/CanGrow_WebFunctions.h +++ b/Arduino/CanGrow/CanGrow_WebFunctions.h @@ -213,7 +213,7 @@ void SysMaintenance() { // when requesting to handle Dimming if( (webserver.hasArg("DimmOn")) || (webserver.hasArg("DimmOff")) ) { // check first if PWM is disabled / relais is used - if(UseLEDrelais == true) { + if(UseLEDrelais == false) { // if not, do it if( (webserver.hasArg("DimmOn")) ) { MaintenanceMode = true;