From e6ab45a78ddee2f0f3d58fd1d22f05227cd44dc5 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 4 Sep 2025 09:06:11 -0500 Subject: [PATCH] esp32 fix --- esphome/components/logger/logger.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/logger/logger.cpp b/esphome/components/logger/logger.cpp index 1af2791644..322d153767 100644 --- a/esphome/components/logger/logger.cpp +++ b/esphome/components/logger/logger.cpp @@ -266,8 +266,7 @@ static const LogString *const LOG_LEVELS[] = { reinterpret_cast(LOG_LEVEL_VERBOSE), reinterpret_cast(LOG_LEVEL_VERY_VERBOSE), }; #else -static const LogString *const LOG_LEVELS[] = {"NONE", "ERROR", "WARN", "INFO", - "CONFIG", "DEBUG", "VERBOSE", "VERY_VERBOSE"}; +static const char *const LOG_LEVELS[] = {"NONE", "ERROR", "WARN", "INFO", "CONFIG", "DEBUG", "VERBOSE", "VERY_VERBOSE"}; #endif void Logger::dump_config() {