diff --git a/src/open9x.cpp b/src/open9x.cpp index 9edaf75b8..2161bad8a 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -1164,7 +1164,7 @@ int8_t getMovedSwitch() if (mask) switches_states ^= mask; else { - switches_states = (switches_states & 0x8C) | (i-1); + switches_states = (switches_states & 0xFC) | (i-1); } } }