summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-12-01 09:25:40 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2021-12-01 09:25:40 -0500
commitb60d63f2634358e50de4aa77aa2f3b567c94f7aa (patch)
tree31c0f09767ce5adcb12d797c0c3713f908a52bc6
parent333c5e8b9e0812fbb36e1f468b660970901bef25 (diff)
downloadSensor-Watch-b60d63f2634358e50de4aa77aa2f3b567c94f7aa.tar.gz
Sensor-Watch-b60d63f2634358e50de4aa77aa2f3b567c94f7aa.tar.bz2
Sensor-Watch-b60d63f2634358e50de4aa77aa2f3b567c94f7aa.zip
movement: after profiling, temp and battery can ignore timeout
-rw-r--r--movement/watch_faces/demos/voltage_face.c4
-rw-r--r--movement/watch_faces/thermistor/thermistor_readout_face.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/movement/watch_faces/demos/voltage_face.c b/movement/watch_faces/demos/voltage_face.c
index 98b22c76..bdc25679 100644
--- a/movement/watch_faces/demos/voltage_face.c
+++ b/movement/watch_faces/demos/voltage_face.c
@@ -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;
diff --git a/movement/watch_faces/thermistor/thermistor_readout_face.c b/movement/watch_faces/thermistor/thermistor_readout_face.c
index 5cee2e96..8c5645e2 100644
--- a/movement/watch_faces/thermistor/thermistor_readout_face.c
+++ b/movement/watch_faces/thermistor/thermistor_readout_face.c
@@ -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;