mirror of
https://github.com/esphome/esphome.git
synced 2025-10-27 05:03:48 +00:00
[logger] Use LogString for UART selection strings (saves 28 bytes RAM on ESP8266) (#10615)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -258,7 +258,7 @@ void Logger::dump_config() {
|
||||
ESP_LOGCONFIG(TAG,
|
||||
" Log Baud Rate: %" PRIu32 "\n"
|
||||
" Hardware UART: %s",
|
||||
this->baud_rate_, get_uart_selection_());
|
||||
this->baud_rate_, LOG_STR_ARG(get_uart_selection_()));
|
||||
#endif
|
||||
#ifdef USE_ESPHOME_TASK_LOG_BUFFER
|
||||
if (this->log_buffer_) {
|
||||
|
||||
Reference in New Issue
Block a user