summaryrefslogtreecommitdiff
path: root/ports/esp8266/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/esp8266/uart.c')
-rw-r--r--ports/esp8266/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp8266/uart.c b/ports/esp8266/uart.c
index cf9e8f61b..61715f5ce 100644
--- a/ports/esp8266/uart.c
+++ b/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();
}