Browse Source

[rtdbg] Fix compile error when using LOG_HEX(...) function but RT_USING_ULOG not defined

iysheng 4 năm trước cách đây
mục cha
commit
f3283ff8df
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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