mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
Merge branch 'fix/linux-build-error-log-color' into 'release/v5.5'
fix(log): increase s_lvl_color array size to avoid GCC 15 truncation warning See merge request espressif/esp-idf!47865
This commit is contained in:
@@ -28,7 +28,7 @@ static __attribute__((unused)) const char s_lvl_name[ESP_LOG_MAX] = {
|
||||
'V', // VERBOSE
|
||||
};
|
||||
|
||||
static __attribute__((unused)) const char s_lvl_color[ESP_LOG_MAX][8] = {
|
||||
static __attribute__((unused)) const char s_lvl_color[ESP_LOG_MAX][9] = {
|
||||
"\0", // NONE
|
||||
LOG_ANSI_COLOR_REGULAR(LOG_ANSI_COLOR_RED)"\0", // ERROR
|
||||
LOG_ANSI_COLOR_REGULAR(LOG_ANSI_COLOR_YELLOW)"\0", // WARNING
|
||||
|
||||
Reference in New Issue
Block a user