1
0
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:
david gauchard
2018-02-17 02:40:25 +01:00
committed by Develo
parent 5328a8b91e
commit d0f220fb54
18 changed files with 39 additions and 40 deletions

View File

@ -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 */