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.
2 parents aa0799a + 106e6b7 commit d8ca5e0Copy full SHA for d8ca5e0
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