From 720c39ba2fae188865a725728930e1e73d6eadf6 Mon Sep 17 00:00:00 2001 From: ntfreak Date: Fri, 7 Aug 2009 09:37:59 +0000 Subject: [PATCH] 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 --- src/jtag/tcl.c | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.5