Merge pull request #4442 from iysheng/master

[rtdbg] Fix compile error when using LOG_HEX function but RT_USING_ULOG not defined
This commit is contained in:
Bernard Xiong 2021-03-11 14:44:16 +08:00 committed by GitHub
commit 9451cc84b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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