summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoriysheng <[email protected]>2021-03-11 14:14:00 +0800
committeriysheng <[email protected]>2021-03-11 14:22:29 +0800
commitf3283ff8dfc2e6f677293008b720349823dc44cb (patch)
tree2b4bc6a5c437a96cf11f2664ffd691e2458ae9f2 /include
parent550f34289fdfa490c38409d1867761a39df14d42 (diff)
[rtdbg] Fix compile error when using LOG_HEX(...) function but RT_USING_ULOG not defined
Diffstat (limited to 'include')
-rw-r--r--include/rtdbg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtdbg.h b/include/rtdbg.h
index c0a4e68222..6a6ea3d670 100644
--- a/include/rtdbg.h
+++ b/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