This commit is contained in:
Bertrand Songis
2019-10-04 18:59:38 +02:00
parent 7ab886064b
commit d31f566965
56 changed files with 341 additions and 364 deletions
+1 -1
View File
@@ -649,7 +649,7 @@ void checkSwitches()
unsigned int state = ((g_model.switchWarningState >> (3*i)) & 0x07);
if (state && state-1 != ((switches_states >> (i*2)) & 0x03)) {
if (++numWarnings < 6) {
// LcdFlags attr = ((states & mask) == (switches_states & mask)) ? TEXT_COLOR : ALARM_COLOR;
// LcdFlags attr = ((states & mask) == (switches_states & mask)) ? DEFAULT_COLOR : ALARM_COLOR;
// LcdFlags attr = ALARM_COLOR;
// drawSwitch(x, y, SWSRC_FIRST_SWITCH+i*3+state-1, attr);
x += 35;