mirror of
https://github.com/opentx/opentx.git
synced 2025-07-20 06:45:10 +03:00
Little display problem for negative curves on 9X
This commit is contained in:
parent
1dada04b66
commit
ed16ed9cc4
1 changed files with 1 additions and 1 deletions
|
@ -838,7 +838,7 @@ void putsCurve(coord_t x, coord_t y, int8_t idx, LcdFlags att)
|
||||||
void putsCurve(coord_t x, coord_t y, int8_t idx, LcdFlags att)
|
void putsCurve(coord_t x, coord_t y, int8_t idx, LcdFlags att)
|
||||||
{
|
{
|
||||||
if (idx < 0) {
|
if (idx < 0) {
|
||||||
lcd_putcAtt(x-1*FW, y, '!', att);
|
lcd_putcAtt(x-3, y, '!', att);
|
||||||
idx = -idx+CURVE_BASE-1;
|
idx = -idx+CURVE_BASE-1;
|
||||||
}
|
}
|
||||||
if (idx < CURVE_BASE)
|
if (idx < CURVE_BASE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue