From 989593f5f676737d49234507205fcacb4ff6295f Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 16 Mar 2013 22:22:54 +0000 Subject: [PATCH] [all] Switches Warning bug fixed --- src/open9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } }