Skip to content

Commit 01d3221

Browse files
authored
fix(board): add LED_BUILTIN #define
1 parent d8cc3ee commit 01d3221

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

variants/Geekble_Nano_ESP32S3/pins_arduino.h

+3
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ static const uint8_t A7 = 14;
3636
// alternate pin functions
3737

3838
static const uint8_t LED_BUILTIN = D13;
39+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
40+
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
41+
3942
static const uint8_t SW_BUILTIN = 0;
4043

4144
static const uint8_t TX = D1;

0 commit comments

Comments
 (0)