diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-11-08 07:11:59 -0600 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-11-08 07:11:59 -0600 |
commit | 67d84c6d42f01f946049f4f6ee2c034cf5195fc1 (patch) | |
tree | 885d4576f629629519d86ad78f7bfd6f0cf9f1dd | |
parent | 82e7a617598cc20f3be05f380ce0c56fda9b240e (diff) | |
download | Sensor-Watch-67d84c6d42f01f946049f4f6ee2c034cf5195fc1.tar.gz Sensor-Watch-67d84c6d42f01f946049f4f6ee2c034cf5195fc1.tar.bz2 Sensor-Watch-67d84c6d42f01f946049f4f6ee2c034cf5195fc1.zip |
bugfix: activate current watch face when waking from sleep
-rw-r--r-- | movement/movement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/movement.c b/movement/movement.c index 643fc672..797e75bf 100644 --- a/movement/movement.c +++ b/movement/movement.c @@ -105,7 +105,7 @@ void app_setup() { watch_faces[i].setup(&movement_state.settings, &watch_face_contexts[i]); } - watch_faces[0].activate(&movement_state.settings, watch_face_contexts[0]); + watch_faces[movement_state.current_watch_face].activate(&movement_state.settings, watch_face_contexts[movement_state.current_watch_face]); event.subsecond = 0; event.event_type = EVENT_ACTIVATE; } |