summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-05-03 22:31:35 -0700
committerKeith Packard <keithp@keithp.com>2011-05-03 22:31:35 -0700
commit4c6fddf6f6ea7247291272af39966ab94260fb01 (patch)
treed0aa6748ed882d326b0d7a5ea9899a2ca839b864
parent2f09373b0f6fd30cd94fdce9b3cde2d4d518c323 (diff)
ao-bringup-avr: fix blinking code to actually drive the pin as output
Mis-configured the DDR register setting the wrong pin to output. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--ao-bringup-avr/ao-blink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ao-bringup-avr/ao-blink.c b/ao-bringup-avr/ao-blink.c
index b131d492..5694b9a3 100644
--- a/ao-bringup-avr/ao-blink.c
+++ b/ao-bringup-avr/ao-blink.c
@@ -22,7 +22,7 @@
#define LEDOUT PORTB7
#define LEDPORT PORTB
#define LEDDDR DDRB
-#define LEDDDRPIN DD6
+#define LEDDDRPIN DD7
int main(void)
{