mirror of https://github.com/arendst/Tasmota.git
Attempt to fix regression introduced by #9589
This commit is contained in:
parent
32f3eee89d
commit
ed8058b3e2
|
@ -490,7 +490,7 @@ bool SendKey(uint32_t key, uint32_t device, uint32_t state)
|
|||
result = XdrvRulesProcess();
|
||||
}
|
||||
#ifdef USE_PWM_DIMMER
|
||||
if (PWM_DIMMER == TasmotaGlobal.module_type && !result) {
|
||||
if (PWM_DIMMER != TasmotaGlobal.module_type || !result) {
|
||||
#endif // USE_PWM_DIMMER
|
||||
int32_t payload_save = XdrvMailbox.payload;
|
||||
XdrvMailbox.payload = device_save << 24 | key << 16 | state << 8 | device;
|
||||
|
|
Loading…
Reference in New Issue