Merge pull request #5123 from shishirong/patch-1

fix ulog compile error.
This commit is contained in:
guo 2021-10-09 13:40:35 +08:00 committed by GitHub
commit 50433a51bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -1250,7 +1250,7 @@ static void ulog_filter(uint8_t argc, char **argv)
}
}
MSH_CMD_EXPORT(ulog_filter, Show ulog filter settings);
#endif defined(RT_USING_FINSH)
#endif /* RT_USING_FINSH */
#endif /* ULOG_USING_FILTER */
rt_err_t ulog_backend_register(ulog_backend_t backend, const char *name, rt_bool_t support_color)

View File

@ -11,6 +11,11 @@
#ifndef _ULOG_DEF_H_
#define _ULOG_DEF_H_
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <rtdef.h>
#ifdef __cplusplus
extern "C" {
#endif