Skip to content
Snippets Groups Projects
Commit 082b88bc authored by Marc Schink's avatar Marc Schink Committed by Paul Fertser
Browse files

jlink: Output libjaylink version


Output the package version of libjaylink to ease debugging.

Change-Id: I3b9da6d046d140ba850056c98e67bed22c885ee0
Signed-off-by: default avatarMarc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/3887


Tested-by: jenkins
Reviewed-by: default avatarPaul Fertser <fercerpav@gmail.com>
parent a2942c95
Branches
Tags
No related merge requests found
...@@ -545,6 +545,9 @@ static int jlink_init(void) ...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment