From 291d1511aab3eee6a181510e1b1ff9282d47e69c Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Fri, 23 Aug 2019 15:12:57 +0200 Subject: openocd: fix minor inconsistencies after renaming "adapter" command Replace in the code any reference to the deprecated commands. Change-Id: I75d28064017d664990b4024967900f32e196230a Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5282 Tested-by: jenkins Reviewed-by: Marc Schink Reviewed-by: Oleksij Rempel --- src/svf/svf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/svf/svf.c') diff --git a/src/svf/svf.c b/src/svf/svf.c index 759ba52..5d87c89 100644 --- a/src/svf/svf.c +++ b/src/svf/svf.c @@ -990,7 +990,7 @@ static int svf_run_command(struct command_context *cmd_ctx, char *cmd_str) /* TODO: set jtag speed to */ if (svf_para.frequency > 0) { command_run_linef(cmd_ctx, - "adapter_khz %d", + "adapter speed %d", (int)svf_para.frequency / 1000); LOG_DEBUG("\tfrequency = %f", svf_para.frequency); } -- cgit v1.1