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/ethernet/pins_arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variants/ethernet') diff --git a/variants/ethernet/pins_arduino.h b/variants/ethernet/pins_arduino.h index 202f854..9676698 100644 --- a/variants/ethernet/pins_arduino.h +++ b/variants/ethernet/pins_arduino.h @@ -44,7 +44,7 @@ static const uint8_t SCK = 13; static const uint8_t SDA = 18; static const uint8_t SCL = 19; -static const uint8_t LED_BUILTIN = 9; +#define LED_BUILTIN 9 static const uint8_t A0 = 14; static const uint8_t A1 = 15; -- cgit v1.2.3-18-g5258