fix build warning
This commit is contained in:
parent
1218f9c02b
commit
76986e8c8b
@ -447,7 +447,7 @@ void ulog_output_to_all_backend(rt_uint32_t level, const char *tag, rt_bool_t is
|
|||||||
{
|
{
|
||||||
/* recalculate the log start address and log size when backend not supported color */
|
/* recalculate the log start address and log size when backend not supported color */
|
||||||
rt_size_t color_info_len = 0, output_size = size;
|
rt_size_t color_info_len = 0, output_size = size;
|
||||||
char *output_log = log;
|
const char *output_log = log;
|
||||||
|
|
||||||
if (color_output_info[level] != RT_NULL)
|
if (color_output_info[level] != RT_NULL)
|
||||||
color_info_len = rt_strlen(color_output_info[level]);
|
color_info_len = rt_strlen(color_output_info[level]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user