diff options
| author | Bernard Xiong <[email protected]> | 2021-03-11 14:44:16 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-11 14:44:16 +0800 |
| commit | 9451cc84b7ff2f812a250b1b3d5737e393cd0113 (patch) | |
| tree | a5ce72fb1c52b63fef358465afffc0db979a666b | |
| parent | d69c41119783c3290c8455034cd0c5c453dd7a4e (diff) | |
| parent | f3283ff8dfc2e6f677293008b720349823dc44cb (diff) | |
Merge pull request #4442 from iysheng/master
[rtdbg] Fix compile error when using LOG_HEX function but RT_USING_ULOG not defined
| -rw-r--r-- | include/rtdbg.h | 2 |
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 |
