[all] Registers implementation started (make REGISTERS=YES)
[sky9x / gruvin9x] Date / Time setting splitted into 2 lines (General Setup Menu) [sky9x] Baudrate moved to the Hardware screen [sky9x / gruvin9x] SD Manager better implementation [sky9x] Short / Long switch press used in Function Switches [sky9x] Bg Music Pause / Resume
This commit is contained in:
+12
-1
@@ -596,7 +596,18 @@ void putsSwitches(xcoord_t x, uint8_t y, int8_t idx, uint8_t att)
|
||||
}
|
||||
if (idx > MAX_SWITCH) {
|
||||
idx -= ((att & SWONOFF) ? MAX_SWITCH+1 : MAX_SWITCH);
|
||||
if (~att & SWCONDENSED) lcd_putcAtt(x+3*FW, y, 'm', att);
|
||||
char suffix = 'm';
|
||||
#if defined(PCBSKY9X)
|
||||
if (idx > MAX_SWITCH+1) {
|
||||
suffix = 's';
|
||||
idx -= MAX_SWITCH+1;
|
||||
if (idx > MAX_PSWITCH) {
|
||||
suffix = 'l';
|
||||
idx -= MAX_PSWITCH;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
if (~att & SWCONDENSED) lcd_putcAtt(x+3*FW, y, suffix, att);
|
||||
}
|
||||
lcd_putsiAtt(x, y, STR_VSWITCHES, idx-1, att);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user