mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
launcher: fix high beep on return to clock
This commit is contained in:
parent
58cf2e7585
commit
83192b3a58
|
@ -91,7 +91,7 @@ bool app_loop() {
|
|||
if (launcher_state.widget_changed) {
|
||||
if (launcher_state.launcher_settings.bit.button_should_sound) {
|
||||
// low note for nonzero case, high note for return to widget 0
|
||||
watch_buzzer_play_note(launcher_state.current_widget ? BUZZER_NOTE_C7 : BUZZER_NOTE_C8, 50);
|
||||
watch_buzzer_play_note(launcher_state.next_widget ? BUZZER_NOTE_C7 : BUZZER_NOTE_C8, 50);
|
||||
}
|
||||
widgets[launcher_state.current_widget].resign(&launcher_state.launcher_settings, widget_contexts[launcher_state.current_widget]);
|
||||
launcher_state.current_widget = launcher_state.next_widget;
|
||||
|
|
Loading…
Reference in a new issue