Skip to content

Commit

Permalink
fix: remove status led bool casting in macros
Browse files Browse the repository at this point in the history
  • Loading branch information
fdidron committed Mar 25, 2024
1 parent d237ef2 commit 1bd6b1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions keyboards/voyager/voyager.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ extern bool mcp23018_leds[];

#define MCP23018_DEFAULT_ADDRESS 0b0100000

#define STATUS_LED_1(status) writePin(B5, (bool)status)
#define STATUS_LED_2(status) writePin(B4, (bool)status)
#define STATUS_LED_3(status) mcp23018_leds[0] = (bool)status
#define STATUS_LED_4(status) mcp23018_leds[1] = (bool)status
#define STATUS_LED_1(status) writePin(B5, status)
#define STATUS_LED_2(status) writePin(B4, status)
#define STATUS_LED_3(status) mcp23018_leds[0] = status
#define STATUS_LED_4(status) mcp23018_leds[1] = status

// clang-format off
#define LAYOUT( \
Expand Down

0 comments on commit 1bd6b1b

Please sign in to comment.