summaryrefslogtreecommitdiff
path: root/components/utilities
diff options
context:
space:
mode:
author马志远 <[email protected]>2021-08-23 17:30:05 +0800
committer马志远 <[email protected]>2021-08-23 17:30:05 +0800
commit221da7f464d811955acce96280332d95348fb24f (patch)
tree76d23a38d1fefdb0adfafd3685ccbf72d4d8291c /components/utilities
parenta280fb8f2a1aa7445ad475d94fdc4e3af5b6e071 (diff)
Remove C Style Command Shell
Diffstat (limited to 'components/utilities')
-rw-r--r--components/utilities/ulog/ulog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/utilities/ulog/ulog.c b/components/utilities/ulog/ulog.c
index c36fc6ff26..89ba58cf48 100644
--- a/components/utilities/ulog/ulog.c
+++ b/components/utilities/ulog/ulog.c
@@ -1075,7 +1075,7 @@ const char *ulog_global_filter_kw_get(void)
return ulog.filter.keyword;
}
-#if defined(RT_USING_FINSH) && defined(FINSH_USING_MSH)
+#ifdef(RT_USING_FINSH)
#include <finsh.h>
static void _print_lvl_info(void)
@@ -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) && defined(FINSH_USING_MSH) */
+#endif defined(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)