summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/transport/swd_libswd_drv_openocd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport/swd_libswd_drv_openocd.c b/src/transport/swd_libswd_drv_openocd.c
index 49a1f946..f4005459 100644
--- a/src/transport/swd_libswd_drv_openocd.c
+++ b/src/transport/swd_libswd_drv_openocd.c
@@ -227,7 +227,7 @@ int swd_log_level_inherit(swd_ctx_t *swdctx, int loglevel){
swd_loglevel_t new_swdlevel;
switch ((loglevel==-1)?debug_level:loglevel){
case LOG_LVL_DEBUG:
- new_swdlevel=SWD_LOGLEVEL_DEBUG;
+ new_swdlevel=SWD_LOGLEVEL_PAYLOAD;
break;
case LOG_LVL_INFO:
new_swdlevel=SWD_LOGLEVEL_INFO;