diff options
author | Leo C | 2014-12-18 23:37:42 +0100 |
---|---|---|
committer | Leo C | 2014-12-18 23:37:42 +0100 |
commit | 2d7d4d213db500871d6869ba470d7751545636f2 (patch) | |
tree | 177737d88a6723f7d51734f1c4a0ac929b1554e2 | |
parent | 35edb766593d019b89a3f40b6d6cdd2b50f18032 (diff) | |
download | z180-stamp-2d7d4d213db500871d6869ba470d7751545636f2.zip |
Remove obsolete debug codehexrel-4
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | TODO.md | 5 | ||||
-rw-r--r-- | avr/command_tbl.c | 16 | ||||
-rw-r--r-- | avr/debug.c | 11 |
4 files changed, 5 insertions, 28 deletions
@@ -1 +0,0 @@ -TODO: eliminate xmalloc @@ -0,0 +1,5 @@ +TODO List +========= + +- TODO: eliminate xmalloc +- TODO: build time directory as lib diff --git a/avr/command_tbl.c b/avr/command_tbl.c index b70c711..a2f99da 100644 --- a/avr/command_tbl.c +++ b/avr/command_tbl.c @@ -30,7 +30,6 @@ extern command_ret_t do_fat_ls(cmd_tbl_t *, int, int, char * const []); //extern command_ret_t do_fat_read(cmd_tbl_t *, int, int, char * const []); //extern command_ret_t do_fat_write(cmd_tbl_t *, int, int, char * const []); extern command_ret_t do_fat_rw(cmd_tbl_t *, int, int, char * const []); -extern command_ret_t do_testarg(cmd_tbl_t *, int, int, char * const []); #ifdef CONFIG_SYS_LONGHELP const FLASH char sd_help_text[] = @@ -51,21 +50,6 @@ CMD_TBL_ITEM( ), #ifdef DEBUG -CMD_TBL_ITEM( - test, CONFIG_SYS_MAXARGS, 1, do_testarg, - "print arguments", - "" -), -CMD_TBL_ITEM( - tst1, CONFIG_SYS_MAXARGS, 1, do_testarg, - "print arguments", - "" -), -CMD_TBL_ITEM( - tst2, CONFIG_SYS_MAXARGS, 1, do_testarg, - "print arguments", - "" -), CMD_TBL_ITEM( !mdr, 3, 1, do_dump_mem, diff --git a/avr/debug.c b/avr/debug.c index 5096d59..251ef26 100644 --- a/avr/debug.c +++ b/avr/debug.c @@ -122,17 +122,6 @@ command_ret_t do_eep_cp(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[ /*------------------------------------------------------------------------------*/ -command_ret_t do_testarg(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) -{ - my_puts_P(cmdtp->name); - printf_P(PSTR("\n%s\n"), argv[0]); - - return CMD_RET_SUCCESS; -} - -/*------------------------------------------------------------------------------*/ - - #if 1 struct __freelist { |