summaryrefslogtreecommitdiff
path: root/shared-bindings/socket/__init__.c
diff options
context:
space:
mode:
authorhierophect <hierophect@gmail.com>2019-12-10 15:38:42 -0500
committerGitHub <noreply@github.com>2019-12-10 15:38:42 -0500
commit30aba4673597f840f6fccd6750ef93193dc77e78 (patch)
treecfdeb2ec0eb83f16abc7efe10fd6ec83d5d11b71 /shared-bindings/socket/__init__.c
parent33233934e9be4fee31b6b8412234279ebb7d9ef3 (diff)
parent387ab6c87eac8481934a7ffc4a96395fe5f34747 (diff)
Merge branch 'master' into stm32-blackpill
Diffstat (limited to 'shared-bindings/socket/__init__.c')
-rw-r--r--shared-bindings/socket/__init__.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-bindings/socket/__init__.c b/shared-bindings/socket/__init__.c
index 6d04a9893..2d6c16e90 100644
--- a/shared-bindings/socket/__init__.c
+++ b/shared-bindings/socket/__init__.c
@@ -500,6 +500,7 @@ mp_uint_t socket_ioctl(mp_obj_t self_in, mp_uint_t request, uintptr_t arg, int *
}
STATIC const mp_stream_p_t socket_stream_p = {
+ MP_PROTO_IMPLEMENT(MP_QSTR_protocol_stream)
.ioctl = socket_ioctl,
.is_text = false,
};