Allow timer up to the max the timer can handle (#3830)
This commit is contained in:
@@ -138,7 +138,7 @@ void editTimerMode(int timerIdx, coord_t y, LcdFlags attr, event_t event)
|
|||||||
case 1:
|
case 1:
|
||||||
{
|
{
|
||||||
const int stopsMinutes[] = { 8, 60, 120, 180, 240, 300, 600, 900, 1200 };
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user