From: ntfreak Date: Fri, 7 Aug 2009 09:37:59 +0000 (+0000) Subject: David Brownell : X-Git-Tag: v0.3.0-rc0~373 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=720c39ba2fae188865a725728930e1e73d6eadf6;p=openocd David Brownell : 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 --- 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)