4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 00:27:19 +08:00

[dbg] add dlog macro

This commit is contained in:
bernard 2023-01-03 22:13:01 +08:00 committed by guo
parent e498687a58
commit 79b93c2199

View File

@ -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>