mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Negative curves badly displayed
This commit is contained in:
parent
09fc2af254
commit
f9b9df3a83
1 changed files with 4 additions and 2 deletions
|
@ -1057,10 +1057,12 @@ void putsCurveRef(xcoord_t x, uint8_t y, CurveRef &curve, LcdFlags att)
|
|||
|
||||
void putsCurve(xcoord_t x, uint8_t y, int8_t idx, LcdFlags att)
|
||||
{
|
||||
if (idx == 0) return lcd_putsiAtt(x, y, STR_MMMINV, 0, att);
|
||||
if (idx == 0) {
|
||||
return lcd_putsiAtt(x, y, STR_MMMINV, 0, att);
|
||||
}
|
||||
|
||||
if (idx < 0) {
|
||||
lcd_putcAtt(x-1*FW, y, '!', att);
|
||||
lcd_putcAtt(x-3, y, '!', att);
|
||||
idx = -idx;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue