Skip to content

Commit d8ca5e0

Browse files
authored
Merge pull request #1961 from armink/fix_ulog
[component][ulog] Fix a input parameter check error.
2 parents aa0799a + 106e6b7 commit d8ca5e0

File tree

1 file changed

+1
-1
lines changed
  • components/utilities/ulog

1 file changed

+1
-1
lines changed

components/utilities/ulog/ulog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ int ulog_tag_lvl_filter_set(const char *tag, rt_uint32_t level)
760760
ulog_tag_lvl_filter_t tag_lvl = NULL;
761761
int result = RT_EOK;
762762

763-
if (level >= LOG_FILTER_LVL_ALL)
763+
if (level > LOG_FILTER_LVL_ALL)
764764
return -RT_EINVAL;
765765

766766
if (!ulog.init_ok)

0 commit comments

Comments
 (0)