Skip to content

Commit 79b93c2

Browse files
BernardXiongGuozhanxin
authored andcommitted
[dbg] add dlog macro
1 parent e498687 commit 79b93c2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/rtdbg.h

+7
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ extern "C" {
4646
#define DBG_COLOR
4747
#endif
4848

49+
/* for dlog */
50+
#ifdef PKG_USING_DLOG
51+
#include <dlog.h>
52+
#else
53+
#define DLOG(...)
54+
#endif
55+
4956
#if defined(RT_USING_ULOG)
5057
/* using ulog compatible with rtdbg */
5158
#include <ulog.h>

0 commit comments

Comments
 (0)