mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +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:
@ -34,8 +34,7 @@
|
||||
static const uint8_t SDA = PIN_WIRE_SDA;
|
||||
static const uint8_t SCL = PIN_WIRE_SCL;
|
||||
|
||||
static const uint8_t LED_BUILTIN = 2;//new ESP-12E GPIO2
|
||||
static const uint8_t BUILTIN_LED = 2;//new ESP-12E GPIO2
|
||||
#define LED_BUILTIN 2 //new ESP-12E GPIO2
|
||||
|
||||
static const uint8_t D0 = 3;
|
||||
static const uint8_t D1 = 1;
|
||||
|
Reference in New Issue
Block a user