diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-14 00:24:22 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-11-14 00:24:22 +0300 |
commit | 59a1201da959ab01895361c0b5bb8bc1409f2b39 (patch) | |
tree | 7fc38be0c61c88d12dd665b67f42ac1c0b437065 /stmhal/usb.c | |
parent | 99e5badeb1e2e6aeffd3b3d56902d4257e168326 (diff) |
all: Remove readall() method, which is equivalent to read() w/o args.
Its addition was due to an early exploration on how to add CPython-like
stream interface. It's clear that it's not needed and just takes up
bytes in all ports.
Diffstat (limited to 'stmhal/usb.c')
-rw-r--r-- | stmhal/usb.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/stmhal/usb.c b/stmhal/usb.c index 4eb67a8ca..dd6daf8e5 100644 --- a/stmhal/usb.c +++ b/stmhal/usb.c @@ -468,7 +468,6 @@ STATIC const mp_map_elem_t pyb_usb_vcp_locals_dict_table[] = { { MP_OBJ_NEW_QSTR(MP_QSTR_send), (mp_obj_t)&pyb_usb_vcp_send_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_recv), (mp_obj_t)&pyb_usb_vcp_recv_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_read), (mp_obj_t)&mp_stream_read_obj }, - { MP_OBJ_NEW_QSTR(MP_QSTR_readall), (mp_obj_t)&mp_stream_readall_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_readinto), (mp_obj_t)&mp_stream_readinto_obj }, { MP_OBJ_NEW_QSTR(MP_QSTR_readline), (mp_obj_t)&mp_stream_unbuffered_readline_obj}, { MP_OBJ_NEW_QSTR(MP_QSTR_readlines), (mp_obj_t)&mp_stream_unbuffered_readlines_obj}, |