From b5774b1c9cb1801b1b4cb84540d7975b20302882 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 4 Aug 2013 12:32:14 +0000 Subject: added support for teenstep git-svn-id: https://svn.spreadspace.org/avr/trunk@215 aa12f405-d877-488e-9caf-2d797e2a1cc7 --- lib/led.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib/led.c') diff --git a/lib/led.c b/lib/led.c index bc62431..593d97b 100644 --- a/lib/led.c +++ b/lib/led.c @@ -26,10 +26,10 @@ #if defined(__BOARD_minimus__) || defined(__BOARD_minimus32__) #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_slowpandongle1__) || defined(__BOARD_slowpandongle2__) +#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_slowpandongle1__) || defined(__BOARD_slowpandongle2__) || defined(__BOARD_teenstep__) #define NUM_LEDS 1 #else #define NUM_LEDS 0 @@ -41,7 +41,8 @@ #define LED_DIR 1 #endif -#if defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__) || defined(__BOARD_teensy2__) || defined(__BOARD_teensy2pp__) +#if defined(__BOARD_teensy1__) || defined(__BOARD_teensy1pp__) || defined(__BOARD_teensy2__) || defined(__BOARD_teensy2pp__) || \ + defined(__BOARD_teenstep__) #define LED_PORT PORTD #define LED_DDR DDRD #define LED_PINNUM 6 -- cgit v1.2.3