summaryrefslogtreecommitdiff
path: root/ports/esp32/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp32/uart.h')
-rw-r--r--ports/esp32/uart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/uart.h b/ports/esp32/uart.h
index 13c5e8830..0a0985d1b 100644
--- a/ports/esp32/uart.h
+++ b/ports/esp32/uart.h
@@ -30,7 +30,7 @@
// Whether to enable the REPL on a UART.
#ifndef MICROPY_HW_ENABLE_UART_REPL
-#define MICROPY_HW_ENABLE_UART_REPL (!CONFIG_USB_OTG_SUPPORTED && !CONFIG_ESP_CONSOLE_USB_CDC && !CONFIG_ESP_CONSOLE_USB_SERIAL_JTAG_ENABLED)
+#define MICROPY_HW_ENABLE_UART_REPL (!CONFIG_USB_OTG_SUPPORTED && !CONFIG_ESP_CONSOLE_USB_CDC && !MICROPY_HW_ESP_USB_SERIAL_JTAG)
#endif
#if MICROPY_HW_ENABLE_UART_REPL