move buzzer enabled detection logic into movement for movement_play_signal/tune

this way watch faces don't have to disable/enable the buzzer themselves
before calling movement_play_signal() and movement_play_tune()
This commit is contained in:
Jeremy O'Brien
2023-09-23 10:54:49 -04:00
parent bfde84f01d
commit 45f402b4ec
6 changed files with 17 additions and 35 deletions

View File

@@ -151,11 +151,7 @@ bool repetition_minute_face_loop(movement_event_t event, movement_settings_t *se
else watch_clear_indicator(WATCH_INDICATOR_BELL);
break;
case EVENT_BACKGROUND_TASK:
if (watch_is_buzzer_or_led_enabled()) {
movement_play_signal();
} else {
movement_play_signal_background();
}
movement_play_signal();
break;
case EVENT_LIGHT_LONG_UP:
/*