Explorar o código

Merge pull request #4442 from iysheng/master

[rtdbg] Fix compile error when using LOG_HEX function but RT_USING_ULOG not defined
Bernard Xiong %!s(int64=4) %!d(string=hai) anos
pai
achega
9451cc84b7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      include/rtdbg.h

+ 2 - 0
include/rtdbg.h

@@ -178,6 +178,8 @@ extern "C" {
 
 #define LOG_RAW(...)         dbg_raw(__VA_ARGS__)
 
+#define LOG_HEX(name, width, buf, size)
+
 #endif /* defined(RT_USING_ULOG) && define(DBG_ENABLE) */
 
 #ifdef __cplusplus