Switch warnings for ID0 on 9x now display the position it should have, like on Taranis. Makes more sense than having the current position.

This commit is contained in:
Andre Bernet
2014-02-03 17:07:45 +01:00
parent cae8cb9c1f
commit efacc05868
+1 -1
View File
@@ -2318,7 +2318,7 @@ void checkSwitches()
else
attr = (states & (1 << i+1)) == (switches_states & (1 << i+1)) ? 0 : INVERS;
if(!(g_model.nSwToWarn & (1<<i)))
putsSwitches(x, 5*FH, (i>0?(i+3):(switches_states&0x3)+1), attr);
putsSwitches(x, 5*FH, (i>0?(i+3):(states&0x3)+1), attr);
x += 3*FW+FW/2;
}
#endif