summaryrefslogtreecommitdiffstats
path: root/main/fix-tuning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/fix-tuning.patch')
-rw-r--r--main/fix-tuning.patch9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/fix-tuning.patch b/main/fix-tuning.patch
index 0ad8582..003980d 100644
--- a/main/fix-tuning.patch
+++ b/main/fix-tuning.patch
@@ -1,5 +1,5 @@
diff --git a/movement/watch_faces/complication/tuning_tones_face.c b/movement/watch_faces/complication/tuning_tones_face.c
-index a139427..4ab8dfe 100644
+index a139427..525b3eb 100644
--- a/movement/watch_faces/complication/tuning_tones_face.c
+++ b/movement/watch_faces/complication/tuning_tones_face.c
@@ -38,23 +38,23 @@
@@ -39,7 +39,7 @@ index a139427..4ab8dfe 100644
};
static size_t note_count = sizeof notes / sizeof *notes;
-@@ -80,12 +80,22 @@ void tuning_tones_face_activate(movement_settings_t *settings, void *context) {
+@@ -80,12 +80,21 @@ void tuning_tones_face_activate(movement_settings_t *settings, void *context) {
(void) context;
}
@@ -60,11 +60,10 @@ index a139427..4ab8dfe 100644
watch_set_buzzer_off();
- watch_set_buzzer_period(NotePeriods[notes[state->note_ind].note]);
- watch_set_buzzer_on();
-+ watch_disable_buzzer();
}
}
-@@ -110,11 +120,8 @@ bool tuning_tones_face_loop(movement_event_t event, movement_settings_t *setting
+@@ -110,11 +119,8 @@ bool tuning_tones_face_loop(movement_event_t event, movement_settings_t *setting
break;
case EVENT_ALARM_BUTTON_DOWN:
state->playing = !state->playing;
@@ -78,7 +77,7 @@ index a139427..4ab8dfe 100644
case EVENT_ALARM_BUTTON_UP:
break;
case EVENT_TIMEOUT:
-@@ -135,6 +142,6 @@ void tuning_tones_face_resign(movement_settings_t *settings, void *context) {
+@@ -135,6 +141,6 @@ void tuning_tones_face_resign(movement_settings_t *settings, void *context) {
if (state->playing) {
state->playing = false;