ao-bringup-avr: fix blinking code to actually drive the pin as output
authorKeith Packard <keithp@keithp.com>
Wed, 4 May 2011 05:31:35 +0000 (22:31 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 4 May 2011 05:31:35 +0000 (22:31 -0700)
Mis-configured the DDR register setting the wrong pin to output.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-bringup-avr/ao-blink.c

index b131d492b01ad510c42e73af1b39f6dd0166abfa..5694b9a34c7bab1443dd713c90ff0ab0d2812646 100644 (file)
@@ -22,7 +22,7 @@
 #define LEDOUT         PORTB7
 #define LEDPORT                PORTB
 #define LEDDDR         DDRB
-#define LEDDDRPIN      DD6
+#define LEDDDRPIN      DD7
 
 int main(void)
 {