summaryrefslogtreecommitdiff
path: root/src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h
diff options
context:
space:
mode:
authorChristoph Honal <christoph.honal@web.de>2022-03-21 14:07:21 +0100
committerJF <JF002@users.noreply.github.com>2022-07-07 11:20:56 +0200
commit33a7a6a095eaf7909121d0baec2f77022381d4a5 (patch)
tree9ff02524cef610d85820a94f0ea3d8bb61369278 /src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h
parent118adb96cf4503fdccd974090934d18c279cc403 (diff)
Nimble: Enable optional debug output via RTT
This allows better debugging of the bluetooth stack.
Diffstat (limited to 'src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h')
-rw-r--r--src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h b/src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h
index 837cdeac..556635ca 100644
--- a/src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h
+++ b/src/libs/mynewt-nimble/porting/nimble/include/logcfg/logcfg.h
@@ -8,7 +8,7 @@
#include "modlog/modlog.h"
#include "log_common/log_common.h"
-#define BLE_HS_LOG_DEBUG(...) IGNORE(__VA_ARGS__)
+#define BLE_HS_LOG_DEBUG(...) MODLOG_DEBUG(4, __VA_ARGS__)
#define BLE_HS_LOG_INFO(...) MODLOG_INFO(4, __VA_ARGS__)
#define BLE_HS_LOG_WARN(...) MODLOG_WARN(4, __VA_ARGS__)
#define BLE_HS_LOG_ERROR(...) MODLOG_ERROR(4, __VA_ARGS__)