Skip to content

Commit a967a67

Browse files
authored
Merge pull request #341 from hlovdal/led_builtin.m
Make LED_BUILTIN definition available for Arduino Due, Zero and Circuit Playground
2 parents d19351c + 096f83b commit a967a67

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1616

1717
### Fixed
1818

19+
- Fix missing `LED_BUILTIN` definition for Arduino Due, Zero and Circuit Playground.
20+
1921
### Security
2022

2123

cpp/arduino/ArduinoDefines.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
#define TIMER5B 17
9090
#define TIMER5C 18
9191

92-
#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega328__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__)
92+
#if defined(__AVR_ATmega328P__) || defined(__AVR_ATmega32U4__) || defined(__AVR_ATmega328__) || defined(__AVR_ATmega168__) || defined(__AVR_ATmega1280__) || defined(__AVR_ATmega2560__) || defined(__SAM3X8E__) || defined(__SAMD21G18A__)
9393
#define LED_BUILTIN 13
9494
#endif
9595

0 commit comments

Comments
 (0)