diff options
Diffstat (limited to 'ports/esp32/main.c')
| -rw-r--r-- | ports/esp32/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/main.c b/ports/esp32/main.c index dedc5421e..ca5a0e3c2 100644 --- a/ports/esp32/main.c +++ b/ports/esp32/main.c @@ -101,7 +101,7 @@ void mp_task(void *pvParameter) { #endif #if MICROPY_HW_ESP_USB_SERIAL_JTAG usb_serial_jtag_init(); - #elif CONFIG_USB_OTG_SUPPORTED + #elif MICROPY_HW_USB_CDC usb_init(); #endif #if MICROPY_HW_ENABLE_UART_REPL |
