1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-07 22:02:22 +01:00

Update esphome/components/logger/logger_esp8266.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
J. Nick Koston
2025-09-05 10:19:03 -05:00
committed by GitHub
parent 7903e43a66
commit 9e56bc1710

View File

@@ -40,7 +40,7 @@ static const char UART1_STR[] PROGMEM = "UART1";
static const char UART0_SWAP_STR[] PROGMEM = "UART0_SWAP";
static const char *const UART_SELECTIONS[] PROGMEM = {UART0_STR, UART1_STR, UART0_SWAP_STR};
const char *Logger::get_uart_selection_() { return (const char *) pgm_read_ptr(&UART_SELECTIONS[this->uart_]); }
const char *Logger::get_uart_selection_() { return pgm_read_ptr(&UART_SELECTIONS[this->uart_]); }
} // namespace esphome::logger
#endif