1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Fix timer display

This commit is contained in:
Andre Bernet 2016-08-31 23:54:30 +02:00
parent fae55a21c6
commit 76f0b306aa

View file

@ -218,7 +218,7 @@ void drawRtcTime(coord_t x, coord_t y, LcdFlags flags)
void drawTimer(coord_t x, coord_t y, putstime_t tme, LcdFlags flags) void drawTimer(coord_t x, coord_t y, putstime_t tme, LcdFlags flags)
{ {
char str[LEN_TIMER_STRING]; char str[LEN_TIMER_STRING];
getTimerString(str, tme, flags & TIMEHOUR); getTimerString(str, tme, (flags & TIMEHOUR) != 0);
lcdDrawText(x, y, str, flags); lcdDrawText(x, y, str, flags);
} }