From 01d322197c03f6744be63514fd047d30239aa128 Mon Sep 17 00:00:00 2001 From: Rodrigo Garcia Date: Sun, 23 Feb 2025 21:06:40 -0300 Subject: [PATCH] fix(board): add LED_BUILTIN #define --- variants/Geekble_Nano_ESP32S3/pins_arduino.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/variants/Geekble_Nano_ESP32S3/pins_arduino.h b/variants/Geekble_Nano_ESP32S3/pins_arduino.h index 43d3024dc1a..657c0d5d51b 100644 --- a/variants/Geekble_Nano_ESP32S3/pins_arduino.h +++ b/variants/Geekble_Nano_ESP32S3/pins_arduino.h @@ -36,6 +36,9 @@ static const uint8_t A7 = 14; // alternate pin functions static const uint8_t LED_BUILTIN = D13; +#define BUILTIN_LED LED_BUILTIN // backward compatibility +#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN + static const uint8_t SW_BUILTIN = 0; static const uint8_t TX = D1;