diff options
author | Christoph Honal <christoph.honal@web.de> | 2022-03-21 14:07:21 +0100 |
---|---|---|
committer | JF <JF002@users.noreply.github.com> | 2022-07-07 11:20:56 +0200 |
commit | 33a7a6a095eaf7909121d0baec2f77022381d4a5 (patch) | |
tree | 9ff02524cef610d85820a94f0ea3d8bb61369278 /src/libs/mynewt-nimble/porting/nimble/include/modlog | |
parent | 118adb96cf4503fdccd974090934d18c279cc403 (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/modlog')
-rw-r--r-- | src/libs/mynewt-nimble/porting/nimble/include/modlog/modlog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libs/mynewt-nimble/porting/nimble/include/modlog/modlog.h b/src/libs/mynewt-nimble/porting/nimble/include/modlog/modlog.h index 03904610..5b0ef45c 100644 --- a/src/libs/mynewt-nimble/porting/nimble/include/modlog/modlog.h +++ b/src/libs/mynewt-nimble/porting/nimble/include/modlog/modlog.h @@ -20,7 +20,8 @@ #ifndef H_MODLOG_ #define H_MODLOG_ -#include <stdio.h> +#include "SEGGER_RTT.h" +#define printf(...) SEGGER_RTT_printf(0, __VA_ARGS__) #include "log_common/log_common.h" #include "log/log.h" |