diff options
author | Leo C | 2014-10-16 11:08:47 +0200 |
---|---|---|
committer | Leo C | 2014-10-16 11:08:47 +0200 |
commit | 6dc26e92c20eedcfcba9e0b75a015a5b160748c5 (patch) | |
tree | a2a7c5a22b3353b4d26b8eb1b3a8caef7f6411ac /avr/cmd_mem.c | |
parent | 349c01b10d1f6e223f963c6cbdf6a94d0b618895 (diff) | |
parent | 8f23e84c6a08a384d25582f9cf79c4f5549bc852 (diff) | |
download | z180-stamp-6dc26e92c20eedcfcba9e0b75a015a5b160748c5.zip |
Merge branch 'master' into hostcomm_avr
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]; |