mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 22:35:12 +03:00
No INVERS in FM string #1357
This commit is contained in:
parent
3cd2f709fc
commit
c48f4a51a6
1 changed files with 4 additions and 2 deletions
|
@ -1800,9 +1800,11 @@ uint8_t editDelay(const uint8_t y, const uint8_t event, const uint8_t attr, cons
|
|||
#if defined(PCBTARANIS)
|
||||
void displayFlightModes(uint8_t x, uint8_t y, FlightModesType value)
|
||||
{
|
||||
lcd_putsAtt(x, y, STR_FP, SMLSIZE);
|
||||
lcd_puts(x, y, STR_FP);
|
||||
x = lcdNextPos + 1;
|
||||
for (uint8_t p=0; p<MAX_FLIGHT_MODES; p++) {
|
||||
lcd_putcAtt(lcdNextPos, y, '0'+p, ((value & (1<<p)) ? SMLSIZE : INVERS));
|
||||
lcd_putc(x, y, ((value & (1<<p)) ? '-' : '0'+p));
|
||||
x += 5;
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue