From 0288ea092095a3286a8494981f396f73d04f95d7 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Tue, 28 Aug 2012 12:19:26 +0100 Subject: [PATCH] adapter: add 'adapter speed:' prefix to output Currently only the adapter speed is printed, which can be rather misleading when DEBUG_INFO is disabled, all the user sees is 6000 kHz instead lets print adapter speed: 6000 kHz Change-Id: I8f02a63f47344457e3c3d0a6774157fa18206440 Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/797 Tested-by: jenkins Reviewed-by: Freddie Chopin --- src/jtag/adapter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jtag/adapter.c b/src/jtag/adapter.c index e87090c0..c8779884 100644 --- a/src/jtag/adapter.c +++ b/src/jtag/adapter.c @@ -432,9 +432,9 @@ COMMAND_HANDLER(handle_adapter_khz_command) return retval; if (cur_speed) - command_print(CMD_CTX, "%d kHz", cur_speed); + command_print(CMD_CTX, "adapter speed: %d kHz", cur_speed); else - command_print(CMD_CTX, "RCLK - adaptive"); + command_print(CMD_CTX, "adapter speed: RCLK - adaptive"); return retval; } -- 2.39.5