Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
3bb7efc9
Commit
3bb7efc9
authored
Aug 26, 2014
by
Damien George
Browse files
stmhal: Hookup USB_VCP.any().
Thanks to Dave Hylands for this patch.
parent
cd021bfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
stmhal/usb.c
View file @
3bb7efc9
...
...
@@ -255,6 +255,7 @@ mp_obj_t pyb_usb_vcp___exit__(uint n_args, const mp_obj_t *args) {
STATIC
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN
(
pyb_usb_vcp___exit___obj
,
4
,
4
,
pyb_usb_vcp___exit__
);
STATIC
const
mp_map_elem_t
pyb_usb_vcp_locals_dict_table
[]
=
{
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_any
),
(
mp_obj_t
)
&
pyb_usb_vcp_any_obj
},
{
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
},
/// \method read([nbytes])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment