mirror of https://github.com/arendst/Tasmota.git
Merge pull request #16195 from pcdiem/pwm-dimmer-5
Set LED state on SO87 change
This commit is contained in:
commit
4250c1ac7a
|
@ -1386,6 +1386,11 @@ void CmndSetoptionBase(bool indexed) {
|
|||
case 25: // SetOption107 - Virtual CT Channel - signals whether the hardware white is cold CW (true) or warm WW (false)
|
||||
TasmotaGlobal.restart_flag = 2;
|
||||
break;
|
||||
#ifdef USE_PWM_DIMMER
|
||||
case 5: // SetOption87 - (PWM Dimmer) Turn red LED on (1) when powered off
|
||||
TasmotaGlobal.restore_powered_off_led_counter = 1;
|
||||
break;
|
||||
#endif // USE_PWM_DIMMER
|
||||
}
|
||||
}
|
||||
else if (5 == ptype) { // SetOption114 .. 145
|
||||
|
|
Loading…
Reference in New Issue