David Brownell <david-b@pacbell.net>:

Warn about anyone using "jtag_speed" commands; that command is obsolete, and will someday be removed.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2578 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
ntfreak 2009-08-07 09:37:59 +00:00
parent 732df6fea0
commit 720c39ba2f
1 changed files with 3 additions and 0 deletions

View File

@ -942,6 +942,9 @@ static int handle_jtag_speed_command(struct command_context_s *cmd_ctx, char *cm
{ {
int retval = ERROR_OK; int retval = ERROR_OK;
command_print(cmd_ctx, "OLD SYNTAX: DEPRECATED - "
"use jtag_khz, not jtag_speed");
if (argc > 1) if (argc > 1)
return ERROR_COMMAND_SYNTAX_ERROR; return ERROR_COMMAND_SYNTAX_ERROR;
if (argc == 1) if (argc == 1)