summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/clock
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/clock
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/clock')
-rw-r--r--movement/watch_faces/clock/mars_time_face.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/movement/watch_faces/clock/mars_time_face.c b/movement/watch_faces/clock/mars_time_face.c
index ae39e696..30f6a34b 100644
--- a/movement/watch_faces/clock/mars_time_face.c
+++ b/movement/watch_faces/clock/mars_time_face.c
@@ -148,6 +148,9 @@ bool mars_time_face_loop(movement_event_t event, movement_settings_t *settings,
// TODO: low energy update
// watch_start_tick_animation(500);
break;
+ case EVENT_LIGHT_BUTTON_DOWN:
+ // don't light up every time light is hit
+ break;
default:
movement_default_loop_handler(event, settings);
break;