firmware - wrong bool
This commit is contained in:
parent
35ed7ba616
commit
6ff7af0fb0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue