summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy O'Brien <neutral@fastmail.com>2023-01-11 13:33:51 -0500
committerJeremy O'Brien <neutral@fastmail.com>2023-01-11 13:33:55 -0500
commite43a43944fc3766effb01058a2bc64701a27009c (patch)
tree868e51eddc14f7198fdad669532c928b74a4e9bf
parent0293daa926d5b426ad482145f33a5b818fa332d5 (diff)
downloadSensor-Watch-e43a43944fc3766effb01058a2bc64701a27009c.tar.gz
Sensor-Watch-e43a43944fc3766effb01058a2bc64701a27009c.tar.bz2
Sensor-Watch-e43a43944fc3766effb01058a2bc64701a27009c.zip
tarot: move comment to where it belongs
-rw-r--r--movement/watch_faces/complication/tarot_face.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/movement/watch_faces/complication/tarot_face.c b/movement/watch_faces/complication/tarot_face.c
index 7e40de9d..00d7a12d 100644
--- a/movement/watch_faces/complication/tarot_face.c
+++ b/movement/watch_faces/complication/tarot_face.c
@@ -219,7 +219,6 @@ bool tarot_face_loop(movement_event_t event, movement_settings_t *settings, void
movement_move_to_next_face();
break;
case EVENT_LIGHT_BUTTON_UP:
- // cycle through the drawn cards
if (state->drawn_cards[0] == 0xff) {
// deck is inited; cycle through # cards to draw
state->num_cards_to_draw++;
@@ -227,6 +226,7 @@ bool tarot_face_loop(movement_event_t event, movement_settings_t *settings, void
state->num_cards_to_draw = 3;
}
} else {
+ // cycle through the drawn cards
state->current_card = (state->current_card + 1) % state->num_cards_to_draw;
}
tarot_display(state);