Skip to content

Commit 9451cc8

Browse files
authored
Merge pull request #4442 from iysheng/master
[rtdbg] Fix compile error when using LOG_HEX function but RT_USING_ULOG not defined
2 parents d69c411 + f3283ff commit 9451cc8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/rtdbg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ extern "C" {
178178

179179
#define LOG_RAW(...) dbg_raw(__VA_ARGS__)
180180

181+
#define LOG_HEX(name, width, buf, size)
182+
181183
#endif /* defined(RT_USING_ULOG) && define(DBG_ENABLE) */
182184

183185
#ifdef __cplusplus

0 commit comments

Comments
 (0)