From 8f23e84c6a08a384d25582f9cf79c4f5549bc852 Mon Sep 17 00:00:00 2001 From: Leo C Date: Wed, 15 Oct 2014 23:44:26 +0200 Subject: Code reorg and cleanup --- avr/cmd_mem.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'avr/cmd_mem.c') diff --git a/avr/cmd_mem.c b/avr/cmd_mem.c index f1f34c0..66dc88f 100644 --- a/avr/cmd_mem.c +++ b/avr/cmd_mem.c @@ -14,13 +14,14 @@ #include "common.h" #include #include +#include -#include "config.h" -#include "debug.h" #include "command.h" #include "cli_readline.h" +#include "print-utils.h" #include "con-utils.h" #include "z80-if.h" +//#include "debug.h" #ifndef CONFIG_SYS_MEMTEST_SCRATCH @@ -38,12 +39,6 @@ static uint32_t base_address = 0; /*--------------------------------------------------------------------------*/ -static void print_blanks(uint_fast8_t count) -{ - while(count--) - putchar(' '); -} - int z180_dump_mem(uint32_t startaddr, uint32_t len, const char *title) { uint8_t buf[16]; -- cgit v1.2.3