projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: Updated to new part prototypes
[simavr]
/
examples
/
board_ledramp
/
ledramp.c
diff --git
a/examples/board_ledramp/ledramp.c
b/examples/board_ledramp/ledramp.c
index
5167c66
..
e3d0b13
100644
(file)
--- a/
examples/board_ledramp/ledramp.c
+++ b/
examples/board_ledramp/ledramp.c
@@
-159,7
+159,7
@@
int main(int argc, char *argv[])
avr_load_firmware(avr, &f);
// initialize our 'peripheral'
- button_init(avr, &button);
+ button_init(avr, &button
, "button"
);
// "connect" the output irw of the button to the port pin of the AVR
avr_connect_irq(
button.irq + IRQ_BUTTON_OUT,