mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 20:56:35 +00:00
Merge pull request #9700 from emontnemery/patch-1
Fix regression introduced by #9589
This commit is contained in:
commit
fc7cea3b84
@ -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…
x
Reference in New Issue
Block a user