Allow timer up to the max the timer can handle (#3830)

This commit is contained in:
3djc
2016-09-19 21:00:18 +02:00
committed by Bertrand Songis
parent 0a5b357bab
commit e82ff230a5
+1 -1
View File
@@ -138,7 +138,7 @@ void editTimerMode(int timerIdx, coord_t y, LcdFlags attr, event_t event)
case 1:
{
const int stopsMinutes[] = { 8, 60, 120, 180, 240, 300, 600, 900, 1200 };
timer.start = checkIncDec(event, timer.start, 0, 60*60, EE_MODEL, NULL, (const CheckIncDecStops&)stopsMinutes);
timer.start = checkIncDec(event, timer.start, 0, TIMER_MAX, EE_MODEL, NULL, (const CheckIncDecStops&)stopsMinutes);
break;
}
}