diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-22 10:02:48 -0600 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-22 10:02:48 -0600 |
commit | 311cfdb5f45cab25053d7a188a2eb30e2c5e781b (patch) | |
tree | 3b6c9e23c6b5fd9a051873eab22e551aeeb90d51 /movement | |
parent | 962837938221dd1b026755219da943609ffd059a (diff) | |
download | Sensor-Watch-311cfdb5f45cab25053d7a188a2eb30e2c5e781b.tar.gz Sensor-Watch-311cfdb5f45cab25053d7a188a2eb30e2c5e781b.tar.bz2 Sensor-Watch-311cfdb5f45cab25053d7a188a2eb30e2c5e781b.zip |
rearrange hello face, documentation reasons
Diffstat (limited to 'movement')
-rw-r--r-- | movement/watch_faces/demos/hello_there_face.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/movement/watch_faces/demos/hello_there_face.c b/movement/watch_faces/demos/hello_there_face.c index ad535533..fa7ea54e 100644 --- a/movement/watch_faces/demos/hello_there_face.c +++ b/movement/watch_faces/demos/hello_there_face.c @@ -42,18 +42,18 @@ bool hello_there_face_loop(movement_event_t event, movement_settings_t *settings state->current_word = (state->current_word + 1) % 2; } break; - case EVENT_MODE_BUTTON_UP: - // when the user presses 'mode', we tell movement to move to the next watch face. - // movement will call our resign function, clear the screen, and transfer control - // to the next watch face in the list. - movement_move_to_next_face(); - break; case EVENT_LIGHT_BUTTON_UP: // when the user presses 'light', we illuminate the LED. We could override this if // our UI needed an additional button for input, consuming the light button press // but not illuminating the LED. movement_illuminate_led(); break; + case EVENT_MODE_BUTTON_UP: + // when the user presses 'mode', we tell movement to move to the next watch face. + // movement will call our resign function, clear the screen, and transfer control + // to the next watch face in the list. + movement_move_to_next_face(); + break; case EVENT_ALARM_BUTTON_UP: // when the user presses 'alarm', we toggle the state of the animation. If animating, // we stop; if stopped, we resume. |