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
No known key found for this signature in database
GPG key ID: BEAAE804EFD8E83A

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;