ソースを参照

[dbg] add dlog macro

bernard 2 年 前
コミット
79b93c2199
1 ファイル変更7 行追加0 行削除
  1. 7 0
      include/rtdbg.h

+ 7 - 0
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>