respect countdown length when repeating
This commit is contained in:
parent
b06357a193
commit
f5be9755b6
@ -111,7 +111,7 @@ bool accelerometer_data_acquisition_face_loop(movement_event_t event, movement_s
|
||||
if (state->repeat_ticks > 0) {
|
||||
state->repeat_ticks--;
|
||||
if (state->repeat_ticks == 0) {
|
||||
state->countdown_ticks = 1;
|
||||
state->countdown_ticks = state->countdown_length;
|
||||
state->mode = ACCELEROMETER_DATA_ACQUISITION_MODE_COUNTDOWN;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user