From ed76382b2f6abe7742c95825fb29b38167efcee9 Mon Sep 17 00:00:00 2001 From: Michel Pollet Date: Wed, 16 Dec 2009 00:16:55 +0000 Subject: [PATCH] Fixed 'ledramp' example to reflect new loader No functional changes Signed-off-by: Michel Pollet --- examples/board_ledramp/ledramp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/board_ledramp/ledramp.c b/examples/board_ledramp/ledramp.c index ca18c58..b1af8d4 100644 --- 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); -- 2.39.5