summaryrefslogtreecommitdiff
path: root/stm/usb.h
diff options
context:
space:
mode:
authormux <freelancer.c@gmail.com>2014-02-01 15:47:15 +0200
committermux <freelancer.c@gmail.com>2014-02-01 15:49:16 +0200
commit565fdccfd21b9304a37e9602d33cf64b15781f6a (patch)
tree732c27b09724335beb93af1af303a3ee53908042 /stm/usb.h
parentb2269b610e5f29d60d637e9b433275646ea3d53e (diff)
Add usb_vcp_connected prototype to usb.h
Diffstat (limited to 'stm/usb.h')
-rw-r--r--stm/usb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stm/usb.h b/stm/usb.h
index c3b39ca84..718255c25 100644
--- a/stm/usb.h
+++ b/stm/usb.h
@@ -1,5 +1,6 @@
void pyb_usb_dev_init(void);
bool usb_vcp_is_enabled(void);
+bool usb_vcp_is_connected(void);
int usb_vcp_rx_any(void);
char usb_vcp_rx_get(void);
void usb_vcp_send_str(const char* str);