From: Spencer Oliver Date: Wed, 24 Oct 2012 10:42:09 +0000 (+0100) Subject: stlink: print version info X-Git-Tag: v0.7.0-rc1~133 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1bba393e3cf6ae36bf056f99761a0571811dc28a;p=openocd stlink: print version info Print stlink info always rather than just when debug log enabled. Change-Id: I2a29ef046925200e1c94624280c0b252fab5219a Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/925 Tested-by: jenkins --- diff --git a/src/jtag/drivers/stlink_usb.c b/src/jtag/drivers/stlink_usb.c index 4382538d..7e31fe04 100644 --- a/src/jtag/drivers/stlink_usb.c +++ b/src/jtag/drivers/stlink_usb.c @@ -413,7 +413,7 @@ static int stlink_usb_version(void *handle) else 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.jtag, (h->version.jtag_api_max == STLINK_JTAG_API_V1) ? 1 : 2,