esp8266/uart: Allow to compile with event-driven REPL.
This commit is contained in:
parent
9d8347a9aa
commit
01dcd5bb71
@ -276,7 +276,7 @@ void uart_task_handler(os_event_t *evt) {
|
|||||||
|
|
||||||
int c, ret = 0;
|
int c, ret = 0;
|
||||||
while ((c = ringbuf_get(&input_buf)) >= 0) {
|
while ((c = ringbuf_get(&input_buf)) >= 0) {
|
||||||
if (c == interrupt_char) {
|
if (c == mp_interrupt_char) {
|
||||||
mp_keyboard_interrupt();
|
mp_keyboard_interrupt();
|
||||||
}
|
}
|
||||||
ret = pyexec_event_repl_process_char(c);
|
ret = pyexec_event_repl_process_char(c);
|
||||||
|
Loading…
Reference in New Issue
Block a user