projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f09373
)
ao-bringup-avr: fix blinking code to actually drive the pin as output
author
Keith Packard
<keithp@keithp.com>
Wed, 4 May 2011 05:31:35 +0000
(22:31 -0700)
committer
Keith 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
patch
|
blob
|
history
diff --git
a/ao-bringup-avr/ao-blink.c
b/ao-bringup-avr/ao-blink.c
index b131d492b01ad510c42e73af1b39f6dd0166abfa..5694b9a34c7bab1443dd713c90ff0ab0d2812646 100644
(file)
--- 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 DD
6
+#define LEDDDRPIN DD
7
int main(void)
{