stlink: print version info

Print stlink info always rather than just when debug log enabled.

Change-Id: I2a29ef046925200e1c94624280c0b252fab5219a
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/925
Tested-by: jenkins
This commit is contained in:
Spencer Oliver 2012-10-24 11:42:09 +01:00
parent a047d87196
commit 1bba393e3c
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ static int stlink_usb_version(void *handle)
else else
h->version.jtag_api_max = STLINK_JTAG_API_V1; h->version.jtag_api_max = STLINK_JTAG_API_V1;
LOG_DEBUG("STLINK v%d JTAG v%d API v%d SWIM v%d VID 0x%04X PID 0x%04X", LOG_INFO("STLINK v%d JTAG v%d API v%d SWIM v%d VID 0x%04X PID 0x%04X",
h->version.stlink, h->version.stlink,
h->version.jtag, h->version.jtag,
(h->version.jtag_api_max == STLINK_JTAG_API_V1) ? 1 : 2, (h->version.jtag_api_max == STLINK_JTAG_API_V1) ? 1 : 2,