Skip to content

Commit

Permalink
fix: add variable for support internal built in switch (#9499)
Browse files Browse the repository at this point in the history
fix: add variable for support internal built in switch

Co-authored-by: Me No Dev <[email protected]>
  • Loading branch information
SooDragon and me-no-dev authored Apr 19, 2024
1 parent 2c39877 commit 8e75498
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions variants/Geekble_ESP32C3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ static const uint8_t LED_BUILTIN = 10;
#define BUILTIN_LED LED_BUILTIN // backward compatibility
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN

static const uint8_t SW_BUILTIN = 9;
#define BUILTIN_SW SW_BUILTIN // backward compatibility
#define SW_BUILTIN SW_BUILTIN // allow testing #ifdef SW_BUILTIN

static const uint8_t TX = 21;
static const uint8_t RX = 20;

Expand Down

0 comments on commit 8e75498

Please sign in to comment.