diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-07 09:37:59 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-07 09:37:59 +0000 |
commit | 720c39ba2fae188865a725728930e1e73d6eadf6 (patch) | |
tree | f88d08523008b117169bbe97fdf9c0a07ec4f4d1 /src | |
parent | 732df6fea0fed36b2f90e0b20f1031e230eccb6f (diff) | |
download | openocd+libswd-720c39ba2fae188865a725728930e1e73d6eadf6.tar.gz openocd+libswd-720c39ba2fae188865a725728930e1e73d6eadf6.tar.bz2 openocd+libswd-720c39ba2fae188865a725728930e1e73d6eadf6.tar.xz openocd+libswd-720c39ba2fae188865a725728930e1e73d6eadf6.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/jtag/tcl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/jtag/tcl.c b/src/jtag/tcl.c index 727c2136..c81f1617 100644 --- a/src/jtag/tcl.c +++ b/src/jtag/tcl.c @@ -942,6 +942,9 @@ static int handle_jtag_speed_command(struct command_context_s *cmd_ctx, char *cm { int retval = ERROR_OK; + command_print(cmd_ctx, "OLD SYNTAX: DEPRECATED - " + "use jtag_khz, not jtag_speed"); + if (argc > 1) return ERROR_COMMAND_SYNTAX_ERROR; if (argc == 1) |