From 9d48a366169d0362cfdfcd0ecfe88afa578a5bc8 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Sun, 3 Nov 2013 18:10:22 +0100 Subject: Changed LED_BUILTIN to a macro to better support boards that do not have a built-in LED. Fixes #758 --- variants/leonardo/pins_arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variants/leonardo/pins_arduino.h') 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; -- cgit v1.2.3-18-g5258