mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
LED_BUILTIN should be a #define (#4276)
* LED_BUILTIN should be a #define deduplicate and hide BUILTIN_LED as a deprecated constant * test for LED_BUILTIN existence * board:espino:variant: rename button macro (naming coherence)
This commit is contained in:
@ -77,8 +77,7 @@ static const uint8_t E14 = ESP_PINS_OFFSET + 14;
|
||||
static const uint8_t E15 = ESP_PINS_OFFSET + 15;
|
||||
static const uint8_t E16 = ESP_PINS_OFFSET + 16;
|
||||
|
||||
static const uint8_t LED_BUILTIN_LED = 2;
|
||||
static const uint8_t BUILTIN_LED = 2;
|
||||
#define LED_BUILTIN 2
|
||||
|
||||
#define SERIAL_PORT_MONITOR Serial
|
||||
#define SERIAL_PORT_USBVIRTUAL Serial
|
||||
|
Reference in New Issue
Block a user