Skip to content

Commit 096f83b

Browse files
committed
Include defining LED_BUILTIN for Arduino Zero and Circuit Playground
1 parent 40186c8 commit 096f83b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

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

1717
### Fixed
1818

19-
- Fix missing `LED_BUILTIN` definition for Arduino Due.
19+
- Fix missing `LED_BUILTIN` definition for Arduino Due, Zero and Circuit Playground.
2020

2121
### Security
2222

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__) || defined(__SAM3X8E__)
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)