diff options
author | Leo C | 2014-10-15 23:44:26 +0200 |
---|---|---|
committer | Leo C | 2014-10-15 23:44:26 +0200 |
commit | 8f23e84c6a08a384d25582f9cf79c4f5549bc852 (patch) | |
tree | d1543d82c228a1fcdfae21d2d88c88d0317a9a63 /avr/cmd_mem.c | |
parent | 70c994914510f9db3ff71373cb96f50ee1669446 (diff) | |
download | z180-stamp-8f23e84c6a08a384d25582f9cf79c4f5549bc852.zip |
Code reorg and cleanup
Diffstat (limited to 'avr/cmd_mem.c')
-rw-r--r-- | avr/cmd_mem.c | 11 |
1 files changed, 3 insertions, 8 deletions
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 <stdlib.h> #include <ctype.h> +#include <avr/pgmspace.h> -#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]; |