Fix switch warning setup on X7
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user