From f3283ff8dfc2e6f677293008b720349823dc44cb Mon Sep 17 00:00:00 2001 From: iysheng Date: Thu, 11 Mar 2021 14:14:00 +0800 Subject: [PATCH] [rtdbg] Fix compile error when using LOG_HEX(...) function but RT_USING_ULOG not defined --- include/rtdbg.h | 2 ++ 1 file changed, 2 insertions(+) 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