Another overflow in timer mode display

This commit is contained in:
Bertrand Songis
2019-07-13 13:52:58 +02:00
parent 30557ba383
commit 4f180b157c
8 changed files with 11 additions and 9 deletions
+1 -1
View File
@@ -706,7 +706,7 @@ void drawCurveName(coord_t x, coord_t y, int8_t idx, LcdFlags flags)
lcdDrawText(x, y, s, flags);
}
void drawTimerMode(coord_t x, coord_t y, int32_t mode, LcdFlags att)
void drawTimerMode(coord_t x, coord_t y, swsrc_t mode, LcdFlags att)
{
if (mode >= 0) {
if (mode < TMRMODE_COUNT)