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 ea5bcc3..8f8f12c 100644
--- a/lib/led.c
+++ b/lib/led.c
@@ -30,7 +30,7 @@
#define HAS_LED 1
#endif
-#if defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__)
+#if defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__) || defined(__BOARD_minimus__) || defined(__BOARD_minimus32__)
#define LED_DIR 0
#else
#define LED_DIR 1
@@ -42,6 +42,12 @@
#define LED_PINNUM 6
#endif
+#if defined(__BOARD_minimus__) || defined(__BOARD_minimus32__)
+#define LED_PORT PORTD
+#define LED_DDR DDRD
+#define LED_PINNUM 5
+#endif
+
#if defined(__BOARD_hhd70dongle__)
#define LED_PORT PORTE
#define LED_DDR DDRE