From 3c5cce344ffd215478f82bfd17ad96b958babb00 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 21 Nov 2018 21:23:37 +0100 Subject: added elecrow 32u4 Lora board --- lib/led.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3