Skip to content

Commit

Permalink
fixed pairs for spark
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 23, 2024
1 parent a677249 commit 60e0f39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VortexEngine/src/Leds/LedTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ enum Pair : uint8_t
PAIR_0 = PAIR_FIRST,
PAIR_1,
PAIR_2,
PAIR_3,
PAIR_4,

PAIR_COUNT,
PAIR_LAST = (PAIR_COUNT - 1),
Expand All @@ -82,6 +80,8 @@ static_assert(LED_COUNT == (PAIR_COUNT * 2), "Incorrect number of Pairs for Leds
#define LED_7 LED_1
#define LED_8 LED_2
#define LED_9 LED_3
#define PAIR_3 PAIR_0
#define PAIR_4 PAIR_1

// check if an led is even or odd
#define isEven(pos) ((pos % 2) == 0)
Expand Down

0 comments on commit 60e0f39

Please sign in to comment.