mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 19:20:30 +08:00
bugfix: activate current watch face when waking from sleep
This commit is contained in:
parent
82e7a61759
commit
67d84c6d42
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue