Skip to content

Commit

Permalink
minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 17, 2023
1 parent 35a0bec commit 0dd344d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions VortexEngine/src/Leds/LedTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ inline LedPos mapGetNextLed(LedMap map, LedPos pos)
// bitmap of all pairs (basically LED_COUNT bits)
#define MAP_LED_ALL ((2 << (LED_COUNT - 1)) - 1)

// blank map
#define MAP_LED_NONE 0

#define MAP_INVERSE(map) ((~map) & MAP_LED_ALL)

// macro for all evens and odds
Expand Down

0 comments on commit 0dd344d

Please sign in to comment.