未验证 提交 50433a51 编写于 作者: G guo 提交者: GitHub

Merge pull request #5123 from shishirong/patch-1

fix ulog compile error.
...@@ -1250,7 +1250,7 @@ static void ulog_filter(uint8_t argc, char **argv) ...@@ -1250,7 +1250,7 @@ static void ulog_filter(uint8_t argc, char **argv)
} }
} }
MSH_CMD_EXPORT(ulog_filter, Show ulog filter settings); MSH_CMD_EXPORT(ulog_filter, Show ulog filter settings);
#endif defined(RT_USING_FINSH) #endif /* RT_USING_FINSH */
#endif /* ULOG_USING_FILTER */ #endif /* ULOG_USING_FILTER */
rt_err_t ulog_backend_register(ulog_backend_t backend, const char *name, rt_bool_t support_color) rt_err_t ulog_backend_register(ulog_backend_t backend, const char *name, rt_bool_t support_color)
......
...@@ -11,6 +11,11 @@ ...@@ -11,6 +11,11 @@
#ifndef _ULOG_DEF_H_ #ifndef _ULOG_DEF_H_
#define _ULOG_DEF_H_ #define _ULOG_DEF_H_
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <rtdef.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册