1
0
Fork 0
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:
bsongis 2014-10-21 07:18:08 +02:00
parent 1dada04b66
commit ed16ed9cc4

View file

@ -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)