FM -translatable string
This commit is contained in:
@@ -1800,9 +1800,9 @@ uint8_t editDelay(const uint8_t y, const uint8_t event, const uint8_t attr, cons
|
|||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
void displayFlightModes(uint8_t x, uint8_t y, FlightModesType value)
|
void displayFlightModes(uint8_t x, uint8_t y, FlightModesType value)
|
||||||
{
|
{
|
||||||
lcd_puts(x, y, "FM:");
|
lcd_putsAtt(x, y, STR_FP, SMLSIZE);
|
||||||
for (uint8_t p=0; p<MAX_FLIGHT_MODES; p++) {
|
for (uint8_t p=0; p<MAX_FLIGHT_MODES; p++) {
|
||||||
lcd_putcAtt(lcdNextPos, y, '0'+p, ((value & (1<<p)) ? 0 : INVERS));
|
lcd_putcAtt(lcdNextPos, y, '0'+p, ((value & (1<<p)) ? SMLSIZE : INVERS));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user