aboutsummaryrefslogtreecommitdiff
path: root/variants/leonardo/pins_arduino.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-11-03 18:10:22 +0100
committerCristian Maglie <c.maglie@bug.st>2013-11-03 18:10:22 +0100
commit9d48a366169d0362cfdfcd0ecfe88afa578a5bc8 (patch)
treecd1eea2877a7c8d1e571de151ed0ccf960471c6d /variants/leonardo/pins_arduino.h
parent0e5e67e23de040d2c1e3e0f7f16dcb1d0516ec51 (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/leonardo/pins_arduino.h')
-rw-r--r--variants/leonardo/pins_arduino.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h
index 571322b..9f3246a 100644
--- a/variants/leonardo/pins_arduino.h
+++ b/variants/leonardo/pins_arduino.h
@@ -101,7 +101,7 @@
static const uint8_t SDA = 2;
static const uint8_t SCL = 3;
-static const uint8_t LED_BUILTIN = 13;
+#define LED_BUILTIN 13
// Map SPI port to 'new' pins D14..D17
static const uint8_t SS = 17;