diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-11-03 18:10:22 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-11-03 18:10:22 +0100 |
commit | 9d48a366169d0362cfdfcd0ecfe88afa578a5bc8 (patch) | |
tree | cd1eea2877a7c8d1e571de151ed0ccf960471c6d /variants/mega | |
parent | 0e5e67e23de040d2c1e3e0f7f16dcb1d0516ec51 (diff) |
Changed LED_BUILTIN to a macro to better support boards that do not have a built-in LED.
Fixes #758
Diffstat (limited to 'variants/mega')
-rw-r--r-- | variants/mega/pins_arduino.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/variants/mega/pins_arduino.h b/variants/mega/pins_arduino.h index 5a9b4cb..b0b4290 100644 --- a/variants/mega/pins_arduino.h +++ b/variants/mega/pins_arduino.h @@ -39,7 +39,7 @@ static const uint8_t SCK = 52; static const uint8_t SDA = 20; static const uint8_t SCL = 21; -static const uint8_t LED_BUILTIN = 13; +#define LED_BUILTIN 13 static const uint8_t A0 = 54; static const uint8_t A1 = 55; @@ -360,4 +360,4 @@ const uint8_t PROGMEM digital_pin_to_timer_PGM[] = { #endif -#endif
\ No newline at end of file +#endif |