]> git.earman.xyz Git - sensor-watch.git/commitdiff
mars time: long press to change time zone
authorJoey Castillo <joeycastillo@utexas.edu>
Sun, 8 Jun 2025 13:48:25 +0000 (07:48 -0600)
committerJoey Castillo <joeycastillo@utexas.edu>
Sun, 8 Jun 2025 13:48:54 +0000 (07:48 -0600)
watch-faces/clock/mars_time_face.c

index fdb6de3581ab236981dc625e226f278afcfb3937..3367b706941f9f752808c038adb73ebb7e43cbd3 100644 (file)
@@ -146,7 +146,7 @@ bool mars_time_face_loop(movement_event_t event, void *context) {
         case EVENT_LIGHT_LONG_PRESS:
             movement_illuminate_led();
             break;
-        case EVENT_ALARM_BUTTON_UP:
+        case EVENT_ALARM_LONG_PRESS:
             state->current_site = (state->current_site + 1) % MARS_TIME_NUM_SITES;
             _update(state, false);
             break;