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

This commit is contained in:
DAVe3283 2024-03-20 17:57:27 -06:00 committed by GitHub
parent 0cb1cc9e1c
commit b637fb3adc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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