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 <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/797
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
__archive__
Spencer Oliver 2012-08-28 12:19:26 +01:00 committed by Freddie Chopin
parent 9a9f745eba
commit 0288ea0920
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}