diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-03 17:30:26 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-03 17:30:26 +0100 |
commit | 8362bffb2eed310d319b0b96c1b3305eff9c4417 (patch) | |
tree | f9103eda0c66cd03ff93c1e27b8c3db4cd8e4da6 | |
parent | ce23f67d9ec96d78db559f020acef6910f47e0f0 (diff) | |
download | micropython-8362bffb2eed310d319b0b96c1b3305eff9c4417.tar.gz micropython-8362bffb2eed310d319b0b96c1b3305eff9c4417.zip |
stmhal: Document behaviour of usb_vcp_recv_byte.
-rw-r--r-- | stmhal/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/usb.h b/stmhal/usb.h index 5153cb5fab..6d2d469fe9 100644 --- a/stmhal/usb.h +++ b/stmhal/usb.h @@ -48,7 +48,7 @@ void pyb_usb_dev_stop(void); bool usb_vcp_is_enabled(void); bool usb_vcp_is_connected(void); void usb_vcp_set_interrupt_char(int c); -int usb_vcp_recv_byte(uint8_t *c); +int usb_vcp_recv_byte(uint8_t *c); // if a byte is available, return 1 and put the byte in *c, else return 0 void usb_vcp_send_strn(const char* str, int len); void usb_vcp_send_strn_cooked(const char *str, int len); void usb_hid_send_report(uint8_t *buf); // 4 bytes for mouse: ?, x, y, ? |