diff options
author | Tomek CEDRO <cederom@tlen.pl> | 2011-11-04 01:54:19 +0000 |
---|---|---|
committer | Tomek CEDRO <cederom@tlen.pl> | 2011-11-04 01:54:19 +0000 |
commit | 5a95ae191619f6b693bdd011ded3827d2c3d7978 (patch) | |
tree | 1c27892d1aa74f9170bb83f3b7b2c6547de76d5c /src | |
parent | 86854fe604ec8dc52cd03379d7e15f69e9fb6f38 (diff) | |
download | openocd+libswd-5a95ae191619f6b693bdd011ded3827d2c3d7978.tar.gz openocd+libswd-5a95ae191619f6b693bdd011ded3827d2c3d7978.tar.bz2 openocd+libswd-5a95ae191619f6b693bdd011ded3827d2c3d7978.tar.xz openocd+libswd-5a95ae191619f6b693bdd011ded3827d2c3d7978.zip |
transport/swd: Added SWD_LOGLEVEL_PAYLOAD to be inherited when Debug level is set in OpenOCD.
Diffstat (limited to 'src')
-rw-r--r-- | src/transport/swd_libswd_drv_openocd.c | 2 |
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; |