mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
Add sound to pause/resume button
This commit is contained in:
parent
cde6ae3598
commit
d3d76ed0e7
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue