]> git.earman.xyz Git - sensor-watch.git/commitdiff
sunrise/sunset face: no need to update this every second
authorJoey Castillo <joeycastillo@utexas.edu>
Sun, 16 Jan 2022 00:35:47 +0000 (19:35 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Sun, 16 Jan 2022 00:35:47 +0000 (19:35 -0500)
movement/watch_faces/complications/sunrise_sunset_face.c

index 035fd2cf8113c6607a5e4d1d533a5246cb801327..bb7323ec80ee6c2f503c7e6ed765ad6b6564ddeb 100644 (file)
@@ -114,10 +114,10 @@ bool sunrise_sunset_face_loop(movement_event_t event, movement_settings_t *setti
 
     switch (event.event_type) {
         case EVENT_ACTIVATE:
+            _sunrise_sunset_face_update();
             break;
         case EVENT_LOW_ENERGY_UPDATE:
         case EVENT_TICK:
-            _sunrise_sunset_face_update();
             break;
         case EVENT_MODE_BUTTON_UP:
             movement_move_to_next_face();