Explorar el Código

[dbg] add dlog macro

bernard hace 2 años
padre
commit
79b93c2199
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  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>