Skip to content

Commit 8e75498

Browse files
SooDragonme-no-dev
andauthored
fix: add variable for support internal built in switch (#9499)
fix: add variable for support internal built in switch Co-authored-by: Me No Dev <me-no-dev@users.noreply.github.com>
1 parent 2c39877 commit 8e75498

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: variants/Geekble_ESP32C3/pins_arduino.h

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ static const uint8_t LED_BUILTIN = 10;
77
#define BUILTIN_LED LED_BUILTIN // backward compatibility
88
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
99

10+
static const uint8_t SW_BUILTIN = 9;
11+
#define BUILTIN_SW SW_BUILTIN // backward compatibility
12+
#define SW_BUILTIN SW_BUILTIN // allow testing #ifdef SW_BUILTIN
13+
1014
static const uint8_t TX = 21;
1115
static const uint8_t RX = 20;
1216

0 commit comments

Comments
 (0)