From ba24c1fc05c8bb244abab513b880c7e9ec50ea73 Mon Sep 17 00:00:00 2001 From: Marc Schink Date: Wed, 26 Jul 2017 23:51:22 +0200 Subject: [PATCH] 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 --- src/jtag/drivers/jlink.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.5