mirror of
https://github.com/joeycastillo/second-movement.git
synced 2026-02-04 09:15:27 +00:00
Got rid of fallthrough warnings
This commit is contained in:
committed by
Alessandro Genova
parent
c6270444f0
commit
c45fed8ea9
@ -326,7 +326,7 @@ bool fast_stopwatch_face_loop(movement_event_t event, void *context) {
|
||||
case EVENT_LIGHT_BUTTON_DOWN:
|
||||
case EVENT_LIGHT_LONG_PRESS:
|
||||
_button_beep();
|
||||
// Fall into the case below;
|
||||
// fall through
|
||||
case EVENT_TICK:
|
||||
_draw_indicators(state, event, elapsed);
|
||||
_display_elapsed(state, elapsed);
|
||||
|
||||
@ -261,6 +261,7 @@ bool chirpy_demo_face_loop(movement_event_t event, void *context) {
|
||||
if (state->mode != CDM_CHIRPING) {
|
||||
movement_move_to_face(0);
|
||||
}
|
||||
// fall through
|
||||
default:
|
||||
movement_default_loop_handler(event);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user