diff --git a/movement/watch_faces/complication/counter_face.c b/movement/watch_faces/complication/counter_face.c index ac0388ab..fb03ce67 100644 --- a/movement/watch_faces/complication/counter_face.c +++ b/movement/watch_faces/complication/counter_face.c @@ -59,6 +59,7 @@ bool counter_face_loop(movement_event_t event, movement_settings_t *settings, vo state->counter_idx=0;//reset counter index } print_counter(state); + beep_counter(state); break; case EVENT_ALARM_LONG_PRESS: state->counter_idx=0; // reset counter index @@ -77,6 +78,27 @@ bool counter_face_loop(movement_event_t event, movement_settings_t *settings, vo return true; } +// beep counter index times +void beep_counter(counter_state_t *state) { + + int low_count = state->counter_idx/5; + int high_count = state->counter_idx - low_count * 5; + + for (int i=0; i