diff options
Diffstat (limited to 'stmhal/modusocket.c')
-rw-r--r-- | stmhal/modusocket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/modusocket.c b/stmhal/modusocket.c index 9cc1f3314a..fbd1196446 100644 --- a/stmhal/modusocket.c +++ b/stmhal/modusocket.c @@ -376,7 +376,7 @@ STATIC const mp_obj_type_t socket_type = { { &mp_type_type }, .name = MP_QSTR_socket, .make_new = socket_make_new, - .stream_p = &socket_stream_p, + .protocol = &socket_stream_p, .locals_dict = (mp_obj_t)&socket_locals_dict, }; |