diff options
Diffstat (limited to 'include/rtdbg.h')
| -rw-r--r-- | include/rtdbg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rtdbg.h b/include/rtdbg.h index 6a6ea3d670..4eb544aecb 100644 --- a/include/rtdbg.h +++ b/include/rtdbg.h @@ -46,6 +46,13 @@ extern "C" { #define DBG_COLOR #endif +/* for dlog */ +#ifdef PKG_USING_DLOG +#include <dlog.h> +#else +#define DLOG(...) +#endif + #if defined(RT_USING_ULOG) /* using ulog compatible with rtdbg */ #include <ulog.h> |
