mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 16:55:20 +03:00
[Taranis] Icons in Pots warnings removed (line too long)
This commit is contained in:
parent
3063126d75
commit
8dfeb9826e
1 changed files with 4 additions and 2 deletions
|
@ -508,7 +508,7 @@ void menuModelSetup(uint8_t event)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (g_model.potsWarnMode) {
|
if (g_model.potsWarnMode) {
|
||||||
coord_t x = MODEL_SETUP_2ND_COLUMN+25;
|
coord_t x = MODEL_SETUP_2ND_COLUMN+28;
|
||||||
for (int i=0; i<NUM_POTS; ++i) {
|
for (int i=0; i<NUM_POTS; ++i) {
|
||||||
if (i<NUM_XPOTS && !IS_POT_AVAILABLE(POT1+i)) {
|
if (i<NUM_XPOTS && !IS_POT_AVAILABLE(POT1+i)) {
|
||||||
if (attr && (m_posHorz==i+1)) REPEAT_LAST_CURSOR_MOVE();
|
if (attr && (m_posHorz==i+1)) REPEAT_LAST_CURSOR_MOVE();
|
||||||
|
@ -524,7 +524,9 @@ void menuModelSetup(uint8_t event)
|
||||||
if ((!attr || m_posHorz >= 0) && !(g_model.potsWarnEnabled & (1 << i))) {
|
if ((!attr || m_posHorz >= 0) && !(g_model.potsWarnEnabled & (1 << i))) {
|
||||||
flags |= INVERS;
|
flags |= INVERS;
|
||||||
}
|
}
|
||||||
lcd_putsiAtt(x, y, STR_VSRCRAW, NUM_STICKS+1+i, flags);
|
|
||||||
|
// TODO add a new function
|
||||||
|
lcd_putsnAtt(x, y, STR_VSRCRAW+2+STR_VSRCRAW[0]*(NUM_STICKS+1+i), STR_VSRCRAW[0]-1, flags & ~(BSS|ZCHAR));
|
||||||
x = lcdNextPos+3;
|
x = lcdNextPos+3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue