Fix teleperiod PUSH_IGNORE_INV

Fix teleperiod PUSH_IGNORE_INV (#17028)
This commit is contained in:
Theo Arends 2022-12-29 14:02:48 +01:00
parent 31a53148c6
commit ff3d90c36d

View File

@ -84,7 +84,8 @@ bool SwitchState(uint32_t index) {
(PUSHBUTTONHOLD_INV == switchmode) ||
(FOLLOWMULTI_INV == switchmode) ||
(PUSHHOLDMULTI_INV == switchmode) ||
(PUSHON_INV == switchmode)
(PUSHON_INV == switchmode) ||
(PUSH_IGNORE_INV == switchmode)
) ^ Switch.last_state[index];
}