From 7c0195da6cfd5fb9123d08826d2e29f72b7e87d4 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sun, 19 Feb 2017 19:06:12 +0100 Subject: [PATCH] nrf5/modules: Syncing uart module code after upmerge with upstream master. --- nrf5/modules/machine/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrf5/modules/machine/uart.c b/nrf5/modules/machine/uart.c index 98370378bb..6001ba44bf 100644 --- a/nrf5/modules/machine/uart.c +++ b/nrf5/modules/machine/uart.c @@ -439,7 +439,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_t)&pyb_uart_locals_dict,