projects
/
sx
/
simavr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
regExp
home
|
summary
|
tags
|
heads
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
raw
|
patch
| inline |
side by side
(parent:
91732f8
)
Commit
ed76382b2f6abe7742c95825fb29b38167efcee9
author
Michel Pollet
<buserror@gmail.com>
Wed, 16 Dec 2009 00:16:55 +0000
(
00:16
+0000)
committer
Michel Pollet
<buserror@gmail.com>
Wed, 16 Dec 2009 00:16:55 +0000
(
00:16
+0000)
No functional changes
Signed-off-by: Michel Pollet <buserror@gmail.com>
examples/board_ledramp/ledramp.c
patch
|
blob
|
history
|
download
diff --git
a/examples/board_ledramp/ledramp.c
b/examples/board_ledramp/ledramp.c
index ca18c58474c6d96f298a2e34d2eaff06a6d9ca8c..b1af8d4c51fffb7b8013423cab058a48b94ef1cd 100644
(file)
--- a/
examples/board_ledramp/ledramp.c
+++ b/
examples/board_ledramp/ledramp.c
@@
-145,11
+145,11
@@
int main(int argc, char *argv[])
printf("Firmware pathname is %s\n", path);
elf_read_firmware(path, &f);
- printf("firmware %s f=%d mmcu=%s\n", fname, (int)f.
mmcu.f_cpu, f.mmcu.name
);
+ printf("firmware %s f=%d mmcu=%s\n", fname, (int)f.
frequency, f.mmcu
);
- avr = avr_make_mcu_by_name(f.mmcu
.name
);
+ avr = avr_make_mcu_by_name(f.mmcu);
if (!avr) {
- fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu
.name
);
+ fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu);
exit(1);
}
avr_init(avr);