diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-12-10 21:04:46 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2019-12-10 21:04:46 -0500 |
| commit | 68ae47907c076a966a533d90371acf65ae9875c8 (patch) | |
| tree | dce1b21bbbf658e596dd27da3ce6b8e9fa14fdd4 /extmod/modwebsocket.c | |
| parent | 013c84086288141696e4c09250c61b6f2dbdf4d2 (diff) | |
| parent | 024ba978ec909d39d411a74b443d2ffa20250fa6 (diff) | |
merge from upstream
Diffstat (limited to 'extmod/modwebsocket.c')
| -rw-r--r-- | extmod/modwebsocket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/modwebsocket.c b/extmod/modwebsocket.c index 997c7e262..496e4b5bb 100644 --- a/extmod/modwebsocket.c +++ b/extmod/modwebsocket.c @@ -286,6 +286,7 @@ STATIC const mp_rom_map_elem_t websocket_locals_dict_table[] = { STATIC MP_DEFINE_CONST_DICT(websocket_locals_dict, websocket_locals_dict_table); STATIC const mp_stream_p_t websocket_stream_p = { + MP_PROTO_IMPLEMENT(MP_QSTR_protocol_stream) .read = websocket_read, .write = websocket_write, .ioctl = websocket_ioctl, |
