diff options
Diffstat (limited to 'esp8266/machine_uart.c')
-rw-r--r-- | esp8266/machine_uart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/machine_uart.c b/esp8266/machine_uart.c index efdfafd1ae..ef52e8c9a5 100644 --- a/esp8266/machine_uart.c +++ b/esp8266/machine_uart.c @@ -285,7 +285,7 @@ const mp_obj_type_t pyb_uart_type = { .name = MP_QSTR_UART, .print = pyb_uart_print, .make_new = pyb_uart_make_new, - .getiter = mp_identity, + .getiter = mp_identity_getiter, .iternext = mp_stream_unbuffered_iter, .protocol = &uart_stream_p, .locals_dict = (mp_obj_dict_t*)&pyb_uart_locals_dict, |