diff options
Diffstat (limited to 'esp8266/modpybuart.c')
-rw-r--r-- | esp8266/modpybuart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esp8266/modpybuart.c b/esp8266/modpybuart.c index 5971ffece..0cd4fbe5a 100644 --- a/esp8266/modpybuart.c +++ b/esp8266/modpybuart.c @@ -191,6 +191,6 @@ const mp_obj_type_t pyb_uart_type = { .make_new = pyb_uart_make_new, .getiter = mp_identity, .iternext = mp_stream_unbuffered_iter, - .stream_p = &uart_stream_p, + .protocol = &uart_stream_p, .locals_dict = (mp_obj_dict_t*)&pyb_uart_locals_dict, }; |