1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-19 14:25:11 +03:00

Compile fix

This commit is contained in:
3djc 2019-11-05 14:17:25 +01:00
parent bd08b398aa
commit fe78cfc90f

View file

@ -193,7 +193,7 @@ void drawTimerWithMode(coord_t x, coord_t y, uint8_t index)
if (negative)
lcdDrawText(lcdLastLeftPos, y, "-", att | negative);
}
else if (timerState.val < (99 * 60 * 60) + (59 * 60) { // display HHhMM
else if (timerState.val < (99 * 60 * 60) + (59 * 60)) { // display HHhMM
div_t qr = div(abs(timerState.val) / 60, 60);
lcdDrawNumber(x - 5, y, qr.rem, att | LEADING0, 2);
lcdDrawText(lcdLastLeftPos, y, "h", att);