diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-11-03 18:18:09 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-11-03 18:18:09 +0100 |
commit | a2c36f72071dd91756c4b093ba935302019981c3 (patch) | |
tree | c8a87b11edd0ce7fa823595b2c52b95ca405eb69 /variants | |
parent | ac2ce910090d58117a5586545c687f3bfc2f24ec (diff) | |
parent | 9d48a366169d0362cfdfcd0ecfe88afa578a5bc8 (diff) |
Merge branch 'master' into ide-1.5.x
Diffstat (limited to 'variants')
-rw-r--r-- | variants/ethernet/pins_arduino.h | 2 | ||||
-rw-r--r-- | variants/leonardo/pins_arduino.h | 1 | ||||
-rw-r--r-- | variants/mega/pins_arduino.h | 2 | ||||
-rw-r--r-- | variants/standard/pins_arduino.h | 2 |
4 files changed, 4 insertions, 3 deletions
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; diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h index 85fb06e..d746832 100644 --- a/variants/leonardo/pins_arduino.h +++ b/variants/leonardo/pins_arduino.h @@ -101,6 +101,7 @@ static const uint8_t SDA = 2; static const uint8_t SCL = 3; +#define LED_BUILTIN 13 // Map SPI port to 'new' pins D14..D17 static const uint8_t SS = 17; diff --git a/variants/mega/pins_arduino.h b/variants/mega/pins_arduino.h index f121889..3cdbb79 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; diff --git a/variants/standard/pins_arduino.h b/variants/standard/pins_arduino.h index e7cfb08..815df3c 100644 --- a/variants/standard/pins_arduino.h +++ b/variants/standard/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 = 13; +#define LED_BUILTIN 13 static const uint8_t A0 = 14; static const uint8_t A1 = 15; |