mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-27 18:02:17 +03:00
fix board common variant inclusion for deprecated BUILTIN_LED (#4366)
This commit is contained in:
@ -84,4 +84,11 @@ static const uint8_t E16 = ESP_PINS_OFFSET + 16;
|
||||
#define SERIAL_PORT_HARDWARE Serial
|
||||
#define SERIAL_PORT_HARDWARE_OPEN Serial
|
||||
|
||||
#ifdef LED_BUILTIN
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
const int BUILTIN_LED __attribute__((deprecated, weak)) = LED_BUILTIN;
|
||||
#endif
|
||||
|
||||
#endif /* Pins_Arduino_h */
|
||||
|
Reference in New Issue
Block a user