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

Fix logger compile error on ESP32-C6 (#6323)

This commit is contained in:
DAVe3283
2024-03-20 17:57:27 -06:00
committed by Jesse Hills
parent 3290ab7f42
commit 4c9bcc71cb

View File

@@ -129,7 +129,7 @@ void Logger::pre_setup() {
this->uart_num_ = UART_NUM_2; this->uart_num_ = UART_NUM_2;
break; break;
#endif #endif
#if defined(USE_ESP32_VARIANT_ESP32S2) || defined(USE_ESP32_VARIANT_ESP32S3) #ifdef USE_LOGGER_USB_CDC
case UART_SELECTION_USB_CDC: case UART_SELECTION_USB_CDC:
this->uart_num_ = -1; this->uart_num_ = -1;
break; break;