]> git.earman.xyz Git - sensor-watch.git/commitdiff
movement: after profiling, temp and battery can ignore timeout
authorJoey Castillo <joeycastillo@utexas.edu>
Wed, 1 Dec 2021 14:25:40 +0000 (09:25 -0500)
committerJoey Castillo <joeycastillo@utexas.edu>
Wed, 1 Dec 2021 14:25:40 +0000 (09:25 -0500)
movement/watch_faces/demos/voltage_face.c
movement/watch_faces/thermistor/thermistor_readout_face.c

index 98b22c76a938fd7ec383e526107c885f9fe231cb..bdc25679b8c7fe7aa66fdf18ccc4328aac243a13 100644 (file)
@@ -47,8 +47,8 @@ bool voltage_face_loop(movement_event_t event, movement_settings_t *settings, vo
                 watch_clear_indicator(WATCH_INDICATOR_SIGNAL);
             }
             break;
-        case EVENT_TIMEOUT:
-            movement_move_to_face(0);
+        case EVENT_LOW_ENERGY_UPDATE:
+            watch_display_string("BA  SLEEP ", 0);
             break;
         default:
             break;
index 5cee2e966334d328f7136a21c2bd8edeef720cb8..8c5645e2389b135b862bb66f0d2c2d2f5f0ed6e5 100644 (file)
@@ -57,8 +57,8 @@ bool thermistor_readout_face_loop(movement_event_t event, movement_settings_t *s
                 watch_clear_indicator(WATCH_INDICATOR_SIGNAL);
             }
             break;
-        case EVENT_TIMEOUT:
-            movement_move_to_face(0);
+        case EVENT_LOW_ENERGY_UPDATE:
+            watch_display_string("TE  SLEEP ", 0);
             break;
         default:
             break;