firmware - wrong bool

This commit is contained in:
DeltaLima 2024-12-11 23:36:54 +01:00
parent 35ed7ba616
commit 6ff7af0fb0

View file

@ -213,7 +213,7 @@ void SysMaintenance() {
// when requesting to handle Dimming // when requesting to handle Dimming
if( (webserver.hasArg("DimmOn")) || (webserver.hasArg("DimmOff")) ) { if( (webserver.hasArg("DimmOn")) || (webserver.hasArg("DimmOff")) ) {
// check first if PWM is disabled / relais is used // check first if PWM is disabled / relais is used
if(UseLEDrelais == true) { if(UseLEDrelais == false) {
// if not, do it // if not, do it
if( (webserver.hasArg("DimmOn")) ) { if( (webserver.hasArg("DimmOn")) ) {
MaintenanceMode = true; MaintenanceMode = true;