summaryrefslogtreecommitdiff
path: root/ports/esp32/uart.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2021-04-28 10:57:34 +1000
committerDamien George <damien@micropython.org>2021-04-30 15:13:43 +1000
commite9e9c76ddf131f8e50b0ae2d44501d3cd88537ef (patch)
treef9a89b19b8c1b74fd6c6f2ba004dcf174e6c4f1e /ports/esp32/uart.c
parentbd54eb566f85293279d02d0a663c7e4d9f59e660 (diff)
all: Rename mp_keyboard_interrupt to mp_sched_keyboard_interrupt.
To match mp_sched_exception() and mp_sched_schedule(). Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp32/uart.c')
-rw-r--r--ports/esp32/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/uart.c b/ports/esp32/uart.c
index bd3eea9f6..c4fe41eaf 100644
--- a/ports/esp32/uart.c
+++ b/ports/esp32/uart.c
@@ -55,7 +55,7 @@ STATIC void IRAM_ATTR uart_irq_handler(void *arg) {
uint8_t c = READ_PERI_REG(UART_FIFO_AHB_REG(0)); // UART0
#endif
if (c == mp_interrupt_char) {
- mp_keyboard_interrupt();
+ mp_sched_keyboard_interrupt();
} else {
// this is an inline function so will be in IRAM
ringbuf_put(&stdin_ringbuf, c);