summaryrefslogtreecommitdiff
path: root/lib/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/led.c')
-rw-r--r--lib/led.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/led.c b/lib/led.c
index 4e08d6f..c34c538 100644
--- a/lib/led.c
+++ b/lib/led.c
@@ -28,7 +28,7 @@
#define NUM_LEDS 2
#elif defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__) || defined(__BOARD_teensy2__) || defined(__BOARD_teensy2pp__) \
|| defined(__BOARD_arduinoNG__) || defined(__BOARD_arduino2009v2__) || defined(__BOARD_arduino2009__) || defined(__BOARD_arduino10000__) \
- || defined(__BOARD_hhd70dongle__) || defined(__BOARD_rda1846dongle__) || defined(__BOARD_culV3__)
+ || defined(__BOARD_hhd70dongle__) || defined(__BOARD_rda1846dongle__) || defined(__BOARD_culV3__) || defined(__BOARD_slowpandongle__)
#define NUM_LEDS 1
#else
#define NUM_LEDS 0
@@ -62,6 +62,12 @@
#define LED_PINNUM 6
#endif
+#if defined(__BOARD_slowpandongle__)
+#define LED_PORT PORTC
+#define LED_DDR DDRC
+#define LED_PINNUM 2
+#endif
+
#if defined(__BOARD_arduino2009v2__) || defined(__BOARD_arduino2009__) || defined(__BOARD_arduino10000__) || defined(__BOARD_arduinoNG__)
#define LED_PORT PORTB
#define LED_DDR DDRB