]> git.earman.xyz Git - sensor-watch.git/commitdiff
tarot: move comment to where it belongs
authorJeremy O'Brien <neutral@fastmail.com>
Wed, 11 Jan 2023 18:33:51 +0000 (13:33 -0500)
committerJeremy O'Brien <neutral@fastmail.com>
Wed, 11 Jan 2023 18:33:55 +0000 (13:33 -0500)
movement/watch_faces/complication/tarot_face.c

index 7e40de9df06a8de3851112e76db13ee347ebdc13..00d7a12d06e526eb2eaae984a3cd0559f5351f12 100644 (file)
@@ -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);