summaryrefslogtreecommitdiff
path: root/blink/led.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-05-20 14:57:00 +0000
committerChristian Pointner <equinox@spreadspace.org>2012-05-20 14:57:00 +0000
commitfbd423f20cdd271268b1f27e82f168d5e4a435f1 (patch)
treea9d7eae2afd567089f81b6f31114b096ea33de27 /blink/led.c
parentgracefully ignore nonexisting or nonexecutable reset_func (diff)
added support for arduinoNG
git-svn-id: https://svn.spreadspace.org/avr/trunk@19 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'blink/led.c')
-rw-r--r--blink/led.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/blink/led.c b/blink/led.c
index ced853f..0e9292e 100644
--- a/blink/led.c
+++ b/blink/led.c
@@ -3,7 +3,7 @@
*
*
* Copyright (C) 2012 Christian Pointner <equinox@spreadspace.org>
- *
+ *
* This file is part of spreadspace avr utils.
*
* spreadspace avr utils is free software: you can redistribute it and/or modify
@@ -40,7 +40,7 @@
#define LED_PINNUM 6
#endif
-#if defined(__BOARD_arduino2009__)
+#if defined(__BOARD_arduino2009__) || defined(__BOARD_arduinoNG__)
#define LED_PORT PORTB
#define LED_DDR DDRB
#define LED_PINNUM 5