Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions variants/Geekble_ESP32C3/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@

#include <stdint.h>

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 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any sketch that uses BUILTIN_SW ? This is used for LED due to being like this in the past

#define SW_BUILTIN SW_BUILTIN // allow testing #ifdef SW_BUILTIN

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