summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-11-28 18:15:21 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2021-11-29 10:33:42 -0500
commit03fb09f5b47a5d2da079e58a74d6285139a3f974 (patch)
treebb2309221974f1f78628e29832d4e0b7d64fd7ac /movement/watch_faces
parent812c6c2612c6aa89c9e2bd356f1b8c2a829d5f6a (diff)
downloadSensor-Watch-03fb09f5b47a5d2da079e58a74d6285139a3f974.tar.gz
Sensor-Watch-03fb09f5b47a5d2da079e58a74d6285139a3f974.tar.bz2
Sensor-Watch-03fb09f5b47a5d2da079e58a74d6285139a3f974.zip
movement: more granular button and LED timing via fast tick
Diffstat (limited to 'movement/watch_faces')
-rw-r--r--movement/watch_faces/settings/preferences_face.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/movement/watch_faces/settings/preferences_face.c b/movement/watch_faces/settings/preferences_face.c
index ca2c4dbc..ef65b1af 100644
--- a/movement/watch_faces/settings/preferences_face.c
+++ b/movement/watch_faces/settings/preferences_face.c
@@ -131,11 +131,7 @@ bool preferences_face_loop(movement_event_t event, movement_settings_t *settings
break;
case 4:
if (settings->bit.led_duration) {
- // TODO: since we time the LED with the 1 Hz tick, the actual time lit can vary depending
- // on whether the user hit it just before or just after a tick. so the setting is "1-2 s",
- // "3-4 s", or "5-6 s". If we time this with the system tick we can do better.
- // see also cb_tick at the bottom of movement.c
- sprintf(buf, " %1d-%1d s", settings->bit.led_duration * 2 - 1, settings->bit.led_duration * 2);
+ sprintf(buf, " %1d SeC", settings->bit.led_duration * 2 - 1);
watch_display_string(buf, 4);
} else {
watch_display_string("no LEd", 4);