summaryrefslogtreecommitdiff
path: root/ports/esp32/uart.h
diff options
context:
space:
mode:
authorAngus Gratton <angus@redyak.com.au>2023-05-09 15:46:01 +1000
committerDamien George <damien@micropython.org>2023-06-23 15:34:22 +1000
commit7c929d4478fbb247c330eb182e9d07440b962cfc (patch)
treeab4e728f9736c1664e54013615fc2397a36b8a57 /ports/esp32/uart.h
parent18caf49a7fab84f55fdf170eb5ca1c27206ccc76 (diff)
esp32: Switch from UART driver to UART HAL.
Allows registering UART interrupt again. Signed-off-by: Angus Gratton <angus@redyak.com.au>
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 e3c7482e7..14ad30ccd 100644
--- a/ports/esp32/uart.h
+++ b/ports/esp32/uart.h
@@ -34,7 +34,7 @@
#endif
#ifndef MICROPY_HW_UART_REPL
-#define MICROPY_HW_UART_REPL (UART_NUM_0)
+#define MICROPY_HW_UART_REPL (0)
#endif
#ifndef MICROPY_HW_UART_REPL_BAUD