From 79b93c21997e8fbc5a280fcf68f5e9347fec795c Mon Sep 17 00:00:00 2001 From: bernard Date: Tue, 3 Jan 2023 22:13:01 +0800 Subject: [PATCH] [dbg] add dlog macro --- include/rtdbg.h | 7 +++++++ 1 file changed, 7 insertions(+) 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