From: Marc Schink Date: Wed, 26 Jul 2017 21:51:22 +0000 (+0200) Subject: jlink: Make use of debug level for I/O messages X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ba24c1fc05c8bb244abab513b880c7e9ec50ea73;p=openocd jlink: Make use of debug level for I/O messages Change-Id: Iba08c119a80041f9c1b4c9bd7e83bb4f9bbb7199 Signed-off-by: Marc Schink Reviewed-on: http://openocd.zylin.com/4203 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/jtag/drivers/jlink.c b/src/jtag/drivers/jlink.c index bd3c5e03..c05141a1 100644 --- a/src/jtag/drivers/jlink.c +++ b/src/jtag/drivers/jlink.c @@ -523,6 +523,9 @@ static int jaylink_log_handler(const struct jaylink_context *ctx, case JAYLINK_LOG_LEVEL_DEBUG: tmp = LOG_LVL_DEBUG; break; + case JAYLINK_LOG_LEVEL_DEBUG_IO: + tmp = LOG_LVL_DEBUG_IO; + break; default: tmp = LOG_LVL_WARNING; }