From fe78cfc90f2346b872c1e68d3e30c0099eee78ea Mon Sep 17 00:00:00 2001 From: 3djc Date: Tue, 5 Nov 2019 14:17:25 +0100 Subject: [PATCH] Compile fix --- radio/src/gui/128x64/view_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/128x64/view_main.cpp b/radio/src/gui/128x64/view_main.cpp index d7c24a555..74d649a3a 100644 --- a/radio/src/gui/128x64/view_main.cpp +++ b/radio/src/gui/128x64/view_main.cpp @@ -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);