Fix switch warning setup on X7

This commit is contained in:
3djc
2017-02-05 13:06:53 +01:00
parent 93781748c3
commit 7e2271905e
+4
View File
@@ -519,7 +519,11 @@ void menuModelSetup(event_t event)
if (swactive)
attr |= INVERS;
}
#if defined(CPUARM)
lcdDrawChar(MODEL_SETUP_2ND_COLUMN+i*FW, y, (swactive) ? c : '-', attr);
#else
lcdDrawChar(MODEL_SETUP_2ND_COLUMN+i*FW, y, (swactive || (attr & BLINK)) ? c : '-', attr);
#endif
#if !defined(CPUM64)
lcdDrawText(MODEL_SETUP_2ND_COLUMN+(NUM_SWITCHES*FW), y, PSTR("<]"), (menuHorizontalPosition == NUM_SWITCHES-1 && !NO_HIGHLIGHT()) ? line : 0);
#endif