summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-12-22 10:02:48 -0600
committerJoey Castillo <joeycastillo@utexas.edu>2021-12-22 10:02:48 -0600
commit311cfdb5f45cab25053d7a188a2eb30e2c5e781b (patch)
tree3b6c9e23c6b5fd9a051873eab22e551aeeb90d51
parent962837938221dd1b026755219da943609ffd059a (diff)
downloadSensor-Watch-311cfdb5f45cab25053d7a188a2eb30e2c5e781b.tar.gz
Sensor-Watch-311cfdb5f45cab25053d7a188a2eb30e2c5e781b.tar.bz2
Sensor-Watch-311cfdb5f45cab25053d7a188a2eb30e2c5e781b.zip
rearrange hello face, documentation reasons
-rw-r--r--movement/watch_faces/demos/hello_there_face.c12
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.