diff --git a/easylogger/src/elog.c b/easylogger/src/elog.c index 96e1caa..67f2ec3 100755 --- a/easylogger/src/elog.c +++ b/easylogger/src/elog.c @@ -428,7 +428,7 @@ void elog_set_filter_tag_lvl(const char *tag, uint8_t level) return; } - elog_port_output_lock(); + elog_output_lock(); /* find the tag in arr */ for (i =0; i< ELOG_FILTER_TAG_LVL_MAX_NUM; i++){ if (elog.filter.tag_lvl[i].tag_use_flag == true && @@ -481,7 +481,7 @@ uint8_t elog_get_filter_tag_lvl(const char *tag) return level; } - elog_port_output_lock(); + elog_output_lock(); /* find the tag in arr */ for (i =0; i< ELOG_FILTER_TAG_LVL_MAX_NUM; i++){ if (elog.filter.tag_lvl[i].tag_use_flag == true &&