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 +#else +#define DLOG(...) +#endif + #if defined(RT_USING_ULOG) /* using ulog compatible with rtdbg */ #include