jlink: Output libjaylink version
Output the package version of libjaylink to ease debugging. Change-Id: I3b9da6d046d140ba850056c98e67bed22c885ee0 Signed-off-by: Marc Schink <openocd-dev@marcschink.de> Reviewed-on: http://openocd.zylin.com/3887 Tested-by: jenkins Reviewed-by: Paul Fertser <fercerpav@gmail.com>gitignore-build
parent
a2942c95c8
commit
082b88bc8a
|
@ -545,6 +545,9 @@ static int jlink_init(void)
|
||||||
enum jaylink_usb_address address;
|
enum jaylink_usb_address address;
|
||||||
size_t length;
|
size_t length;
|
||||||
|
|
||||||
|
LOG_DEBUG("Using libjaylink %s (compiled with %s).",
|
||||||
|
jaylink_version_package_get_string(), JAYLINK_VERSION_PACKAGE_STRING);
|
||||||
|
|
||||||
ret = jaylink_init(&jayctx);
|
ret = jaylink_init(&jayctx);
|
||||||
|
|
||||||
if (ret != JAYLINK_OK) {
|
if (ret != JAYLINK_OK) {
|
||||||
|
|
Loading…
Reference in New Issue