'!' font method used instead of vlineStip #956
This commit is contained in:
+2
-2
@@ -1011,7 +1011,7 @@ void putsSwitches(xcoord_t x, uint8_t y, int8_t idx, LcdFlags att)
|
|||||||
if (idx == SWSRC_OFF)
|
if (idx == SWSRC_OFF)
|
||||||
return lcd_putsiAtt(x, y, STR_OFFON, 0, att);
|
return lcd_putsiAtt(x, y, STR_OFFON, 0, att);
|
||||||
if (idx < 0) {
|
if (idx < 0) {
|
||||||
lcd_vlineStip(x-2, y, 8, 0x5E/*'!'*/);
|
lcd_putcAtt(x-2, y, '!', att);
|
||||||
idx = -idx;
|
idx = -idx;
|
||||||
}
|
}
|
||||||
lcd_putsiAtt(x, y, STR_VSWITCHES, idx-1, att);
|
lcd_putsiAtt(x, y, STR_VSWITCHES, idx-1, att);
|
||||||
@@ -1021,7 +1021,7 @@ void putsSwitches(xcoord_t x, uint8_t y, int8_t idx, LcdFlags att)
|
|||||||
void putsFlightPhase(xcoord_t x, uint8_t y, int8_t idx, LcdFlags att)
|
void putsFlightPhase(xcoord_t x, uint8_t y, int8_t idx, LcdFlags att)
|
||||||
{
|
{
|
||||||
if (idx==0) { lcd_putsiAtt(x, y, STR_MMMINV, 0, att); return; }
|
if (idx==0) { lcd_putsiAtt(x, y, STR_MMMINV, 0, att); return; }
|
||||||
if (idx < 0) { lcd_vlineStip(x-2, y, 8, 0x5E/*'!'*/); idx = -idx; }
|
if (idx < 0) { lcd_putcAtt(x-2, y, '!', att); idx = -idx; }
|
||||||
if (att & CONDENSED)
|
if (att & CONDENSED)
|
||||||
lcd_outdezNAtt(x+FW*1, y, idx-1, (att & ~CONDENSED), 1);
|
lcd_outdezNAtt(x+FW*1, y, idx-1, (att & ~CONDENSED), 1);
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user