[components][ulog] ULOG_OUTPUT_LEVEL未定义时,level_output_info产生警告

This commit is contained in:
wdfk-prog 2024-10-04 07:19:24 +08:00 committed by GitHub
parent 6b14e0d220
commit ff6d5b13f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -108,6 +108,7 @@ struct rt_ulog
#endif /* ULOG_USING_FILTER */ #endif /* ULOG_USING_FILTER */
}; };
#ifdef ULOG_OUTPUT_LEVEL
/* level output info */ /* level output info */
static const char * const level_output_info[] = static const char * const level_output_info[] =
{ {
@ -120,6 +121,7 @@ static const char * const level_output_info[] =
"I/", "I/",
"D/", "D/",
}; };
#endif /* ULOG_OUTPUT_LEVEL */
#ifdef ULOG_USING_COLOR #ifdef ULOG_USING_COLOR
/* color output info */ /* color output info */