1 parent 473b639 commit b3bc2eeCopy full SHA for b3bc2ee
1 file changed
extmod/modwebrepl.c
@@ -161,6 +161,7 @@ STATIC mp_uint_t _webrepl_read(mp_obj_t self_in, void *buf, mp_uint_t size, int
161
mp_obj_webrepl_t *self = self_in;
162
const mp_stream_p_t *sock_stream = mp_get_stream_raise(self->sock, MP_STREAM_OP_READ);
163
mp_uint_t out_sz = sock_stream->read(self->sock, buf, size, errcode);
164
+ //DEBUG_printf("webrepl: Read %d initial bytes from websocket\n", out_sz);
165
if (out_sz == 0 || out_sz == MP_STREAM_ERROR) {
166
return out_sz;
167
}
0 commit comments