]> git.sur5r.net Git - openocd/commitdiff
jlink: Make use of debug level for I/O messages
authorMarc Schink <openocd-dev@marcschink.de>
Wed, 26 Jul 2017 21:51:22 +0000 (23:51 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 3 Oct 2017 10:18:32 +0000 (11:18 +0100)
Change-Id: Iba08c119a80041f9c1b4c9bd7e83bb4f9bbb7199
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/4203
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/drivers/jlink.c

index bd3c5e03cd0a14656df58c2abcdc7d0b6b50b9ca..c05141a1ef007125c79689004e50eba5afb5d200 100644 (file)
@@ -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;
        }