diff options
| author | Keith Packard <keithp@keithp.com> | 2009-11-02 21:47:15 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2009-11-02 23:51:41 -0800 | 
| commit | a4137263b69864c524d39c6ff88a0225fd06e79b (patch) | |
| tree | a49242f2ea431ca099146469e7704bec3d029d24 | |
| parent | 47f510464907d2b9488109c96ade87a41d878842 (diff) | |
Remove "d" command
| -rw-r--r-- | src/ao_cmd.c | 28 | 
1 files changed, 0 insertions, 28 deletions
diff --git a/src/ao_cmd.c b/src/ao_cmd.c index 33619b24..e3f85bc9 100644 --- a/src/ao_cmd.c +++ b/src/ao_cmd.c @@ -179,33 +179,6 @@ eol(void)  }  static void -dump(void) -{ -	__xdata uint16_t c; -	__xdata uint8_t * __xdata start, * __xdata end; - -	ao_cmd_hex(); -	start = (uint8_t __xdata *) ao_cmd_lex_i; -	ao_cmd_hex(); -	end = (uint8_t __xdata *) ao_cmd_lex_i; -	if (ao_cmd_status != ao_cmd_success) -		return; -	c = 0; -	while (start <= end) { -		if ((c & 7) == 0) { -			if (c) -				putchar('\n'); -			ao_cmd_put16((uint16_t) start); -		} -		putchar(' '); -		ao_cmd_put8(*start); -		++c; -		start++; -	} -	putchar('\n'); -} - -static void  echo(void)  {  	ao_cmd_hex(); @@ -305,7 +278,6 @@ __code struct ao_cmds	ao_base_cmds[] = {  	{ '?', help,		"?                                  Print this message" },  	{ 'T', ao_task_info,	"T                                  Show task states" },  	{ 'E', echo,		"E <0 off, 1 on>                    Set command echo mode" }, -	{ 'd', dump,		"d <start> <end>                    Dump memory" },  	{ 'v', version,		"v                                  Show version" },  	{ 0,    help,	NULL },  };  | 
