mirror of
https://github.com/opentx/opentx.git
synced 2025-07-19 22:35:12 +03:00
Compile fix
This commit is contained in:
parent
bd08b398aa
commit
fe78cfc90f
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@ void drawTimerWithMode(coord_t x, coord_t y, uint8_t index)
|
||||||
if (negative)
|
if (negative)
|
||||||
lcdDrawText(lcdLastLeftPos, y, "-", att | 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);
|
div_t qr = div(abs(timerState.val) / 60, 60);
|
||||||
lcdDrawNumber(x - 5, y, qr.rem, att | LEADING0, 2);
|
lcdDrawNumber(x - 5, y, qr.rem, att | LEADING0, 2);
|
||||||
lcdDrawText(lcdLastLeftPos, y, "h", att);
|
lcdDrawText(lcdLastLeftPos, y, "h", att);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue