movement: add loudness setting for button press

This commit is contained in:
Joey Castillo
2025-05-20 17:27:32 -04:00
parent 616bb08720
commit acdc32ffb4
7 changed files with 45 additions and 9 deletions

View File

@@ -121,7 +121,7 @@ void irq_handler_tc1(void) {
static inline void _button_beep() {
// play a beep as confirmation for a button press (if applicable)
if (movement_button_should_sound()) watch_buzzer_play_note_with_volume(BUZZER_NOTE_C7, 50, WATCH_BUZZER_VOLUME_SOFT);
if (movement_button_should_sound()) watch_buzzer_play_note_with_volume(BUZZER_NOTE_C7, 50, movement_button_volume());
}
/// @brief Display minutes, seconds and fractions derived from 128 Hz tick counter