diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-29 17:37:40 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-04-29 17:37:40 +0300 |
commit | b3bc2ee1b926d6fd6ba2c3be0f8d2d71298b9a82 (patch) | |
tree | 50d73a1c2925585b650f753eae32617f039c84c5 /extmod/modwebrepl.c | |
parent | 473b6398455c6aae3c8cae7e6965e823d1e01720 (diff) |
extmod/modwebrepl: More detailed debug output.
So detailed that even commented by default.
Diffstat (limited to 'extmod/modwebrepl.c')
-rw-r--r-- | extmod/modwebrepl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/modwebrepl.c b/extmod/modwebrepl.c index 1eefb9fa3..b0757b288 100644 --- a/extmod/modwebrepl.c +++ b/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 mp_obj_webrepl_t *self = self_in; const mp_stream_p_t *sock_stream = mp_get_stream_raise(self->sock, MP_STREAM_OP_READ); mp_uint_t out_sz = sock_stream->read(self->sock, buf, size, errcode); + //DEBUG_printf("webrepl: Read %d initial bytes from websocket\n", out_sz); if (out_sz == 0 || out_sz == MP_STREAM_ERROR) { return out_sz; } |