[log] Add missing USE_LOGGER guard on FlashStringHelper overload

This commit is contained in:
J. Nick Koston
2026-03-05 22:02:13 -10:00
parent 92a37d4cb0
commit d8600b5bc9
+2
View File
@@ -26,10 +26,12 @@ void HOT esp_log_printf_(int level, const char *tag, int line, const char *forma
#ifdef USE_STORE_LOG_STR_IN_FLASH
void HOT esp_log_printf_(int level, const char *tag, int line, const __FlashStringHelper *format, ...) {
#ifdef USE_LOGGER
va_list arg;
va_start(arg, format);
logger::global_logger->log_vprintf_(static_cast<uint8_t>(level), tag, line, format, arg);
va_end(arg);
#endif
}
#endif