From 8476fda9ee4e5eb6f58b23af5b758b99a9549242 Mon Sep 17 00:00:00 2001 From: Michel Date: Fri, 12 Mar 2010 08:06:13 +0000 Subject: [PATCH] run_avr: Cosmetics Comments, prints etc. Signed-off-by: Michel Pollet --- simavr/sim/run_avr.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/simavr/sim/run_avr.c b/simavr/sim/run_avr.c index c0d1253..84c5760 100644 --- a/simavr/sim/run_avr.c +++ b/simavr/sim/run_avr.c @@ -1,7 +1,7 @@ /* run_avr.c - Copyright 2008, 2009 Michel Pollet + Copyright 2008, 2010 Michel Pollet This file is part of simavr. @@ -122,8 +122,6 @@ int main(int argc, char *argv[]) if (f_cpu) f.frequency = f_cpu; - printf("firmware %s f=%d mmcu=%s\n", argv[argc-1], (int)f.frequency, f.mmcu); - avr_t * avr = avr_make_mcu_by_name(f.mmcu); if (!avr) { fprintf(stderr, "%s: AVR '%s' now known\n", argv[0], f.mmcu); @@ -132,7 +130,7 @@ int main(int argc, char *argv[]) avr_init(avr); avr_load_firmware(avr, &f); if (f.flashbase) { - printf("Attempted to load a booloader at %04x\n", f.flashbase); + printf("Attempted to load a bootloader at %04x\n", f.flashbase); avr->pc = f.flashbase; } avr->trace = trace; -- 2.39.5