* Make countdown face reset to 0
It was annoying to have countdowns less than DEFAULT_MINUTES.
Admittedly, this does make DEFAULT_MINUTES fairly useless, since
we only ever see it the first time...
* Undo accidental change to movement_config.h
reset(state);
break;
case cd_waiting:
- start(state, settings);
+ if (!(state->minutes == 0 && state->seconds == 0)) {
+ // Only start the timer if we have a valid time.
+ start(state, settings);
+ }
break;
case cd_setting:
settings_increment(state);
break;
case EVENT_ALARM_LONG_PRESS:
if (state->mode == cd_setting) {
- state->minutes = DEFAULT_MINUTES;
+ state->minutes = 0;
state->seconds = 0;
draw(state, event.subsecond);
break;