Browse Source

esp8266/uart: Fix invalid ringbuf name when event driven REPL enabled.

pull/4855/head
Paul m. p. P 5 years ago
committed by Damien George
parent
commit
637aa9784d
  1. 2
      ports/esp8266/uart.c

2
ports/esp8266/uart.c

@ -301,7 +301,7 @@ void uart_task_handler(os_event_t *evt) {
}
int c, ret = 0;
while ((c = ringbuf_get(&input_buf)) >= 0) {
while ((c = ringbuf_get(&stdin_ringbuf)) >= 0) {
if (c == mp_interrupt_char) {
mp_keyboard_interrupt();
}

Loading…
Cancel
Save