Use legacy buzzer functions when playing default tune.
This allows the default tune to be played in LE mode. Fixes: #275
This commit is contained in:
@@ -294,7 +294,14 @@ void movement_request_wake() {
|
||||
}
|
||||
|
||||
void movement_play_signal(void) {
|
||||
#ifdef SIGNAL_TUNE_DEFAULT
|
||||
watch_buzzer_play_note(BUZZER_NOTE_C8, 75);
|
||||
watch_buzzer_play_note(BUZZER_NOTE_REST, 100);
|
||||
watch_buzzer_play_note(BUZZER_NOTE_C8, 100);
|
||||
#else
|
||||
// Does not work in LE mode.
|
||||
watch_buzzer_play_sequence(signal_tune, NULL);
|
||||
#endif // SIGNAL_TUNE_DEFAULT
|
||||
}
|
||||
|
||||
void movement_play_alarm(void) {
|
||||
|
||||
Reference in New Issue
Block a user