We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f28b9d8 commit 106e6b7Copy full SHA for 106e6b7
components/utilities/ulog/ulog.c
@@ -760,7 +760,7 @@ int ulog_tag_lvl_filter_set(const char *tag, rt_uint32_t level)
760
ulog_tag_lvl_filter_t tag_lvl = NULL;
761
int result = RT_EOK;
762
763
- if (level >= LOG_FILTER_LVL_ALL)
+ if (level > LOG_FILTER_LVL_ALL)
764
return -RT_EINVAL;
765
766
if (!ulog.init_ok)
0 commit comments