This commit is contained in:
Bertrand Songis
2016-11-16 23:23:20 +01:00
parent 4eac2e58a0
commit 00447e5fe6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ void editTimerMode(int timerIdx, coord_t y, LcdFlags attr, event_t event)
switch (menuHorizontalPosition) {
case 0:
{
int8_t timerMode = timer.mode;
int32_t timerMode = timer.mode;
if (timerMode < 0) timerMode -= TMRMODE_COUNT-1;
CHECK_INCDEC_MODELVAR_CHECK(event, timerMode, -TMRMODE_COUNT-SWSRC_LAST+1, TMRMODE_COUNT+SWSRC_LAST-1, isSwitchAvailableInTimers);
if (timerMode < 0) timerMode += TMRMODE_COUNT-1;