This is an automated email from Gerrit.

Spencer Oliver ([email protected]) just uploaded a new patch set to Gerrit, 
which you can find at http://openocd.zylin.com/797

-- gerrit

commit e41cbc9250ff36ec6e70450c8e9e7cea87508822
Author: Spencer Oliver <[email protected]>
Date:   Tue Aug 28 12:19:26 2012 +0100

    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 <[email protected]>

diff --git a/src/jtag/adapter.c b/src/jtag/adapter.c
index e87090c..c877988 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;
 }

-- 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to