Add sound to pause/resume button

This commit is contained in:
Ekaitz Zarraga 2023-10-21 15:47:26 +02:00
parent cde6ae3598
commit d3d76ed0e7

View file

@ -214,6 +214,9 @@ bool couchTo5k_face_loop(movement_event_t event, movement_settings_t *settings,
}
break;
case EVENT_ALARM_BUTTON_UP:
if (settings->bit.button_should_sound) {
watch_buzzer_play_note(BUZZER_NOTE_C8, 50);
}
paused = !paused;
break;
case EVENT_TIMEOUT: