summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/led.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/led.c b/lib/led.c
index 8db877d..192eb68 100644
--- a/lib/led.c
+++ b/lib/led.c
@@ -25,7 +25,7 @@
#include "led.h"
-#if defined(__BOARD_minimus__) || defined(__BOARD_minimus32__) || defined(__BOARD_arduinoProMicro__)
+#if defined(__BOARD_minimus__) || defined(__BOARD_minimus32__) || defined(__BOARD_arduinoProMicro__) || defined(__BOARD_elecrow32u4lora__)
#define NUM_LEDS 2
#elif defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__) || defined(__BOARD_teensy2__) || defined(__BOARD_teensy2pp__) || \
defined(__BOARD_arduinoNano__) || defined(__BOARD_arduinoNG__) || defined(__BOARD_arduino2009v2__) || defined(__BOARD_arduino2009__) || \
@@ -39,7 +39,7 @@
#endif
#if defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__) || defined(__BOARD_minimus__) || defined(__BOARD_minimus32__) || \
- defined(__BOARD_rhmixxx__) || defined(__BOARD_arduinoProMicro__)
+ defined(__BOARD_rhmixxx__) || defined(__BOARD_arduinoProMicro__) || defined(__BOARD_elecrow32u4lora__)
#define LED_DIR 0
#else
#define LED_DIR 1
@@ -68,7 +68,7 @@
#define LED_PINNUM 7
#endif
-#if defined(__BOARD_arduinoProMicro__)
+#if defined(__BOARD_arduinoProMicro__) || defined(__BOARD_elecrow32u4lora__)
#define LED_PORT PORTD
#define LED_DDR DDRD
#define LED_PINNUM 5