summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/demo
diff options
context:
space:
mode:
authorJeremy O'Brien <neutral@fastmail.com>2023-01-26 10:44:11 -0500
committerjoeycastillo <joeycastillo@utexas.edu>2023-01-27 09:43:03 -0600
commita18c285e5846ddd2ac5be6876f50bdffb9d17bb8 (patch)
tree2d5bd6dd691a06268a97449fbd0cedc346efd94e /movement/watch_faces/demo
parentc945f323f467803f09a81221cee0c53d95b4cf86 (diff)
downloadSensor-Watch-a18c285e5846ddd2ac5be6876f50bdffb9d17bb8.tar.gz
Sensor-Watch-a18c285e5846ddd2ac5be6876f50bdffb9d17bb8.tar.bz2
Sensor-Watch-a18c285e5846ddd2ac5be6876f50bdffb9d17bb8.zip
restore old light button behavior
watch faces that handle EVENT_LIGHT_BUTTON_UP but not EVENT_LIGHT_BUTTON_DOWN probably don't want the default EVENT_LIGHT_BUTTON_DOWN LED activation behavior
Diffstat (limited to 'movement/watch_faces/demo')
-rw-r--r--movement/watch_faces/demo/frequency_correction_face.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/watch_faces/demo/frequency_correction_face.c b/movement/watch_faces/demo/frequency_correction_face.c
index 3fdef7ee..17457177 100644
--- a/movement/watch_faces/demo/frequency_correction_face.c
+++ b/movement/watch_faces/demo/frequency_correction_face.c
@@ -96,7 +96,7 @@ bool frequency_correction_face_loop(movement_event_t event, movement_settings_t
break;
case EVENT_TICK:
break;
- case EVENT_LIGHT_BUTTON_UP:
+ case EVENT_LIGHT_BUTTON_DOWN:
freqcorr = RTC->MODE2.FREQCORR.reg;
if (freqcorr < 127) {
RTC->MODE2.FREQCORR.reg++;