Skip to content

Commit 565fdcc

Browse files
committed
Add usb_vcp_connected prototype to usb.h
1 parent b2269b6 commit 565fdcc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stm/usb.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
void pyb_usb_dev_init(void);
22
bool usb_vcp_is_enabled(void);
3+
bool usb_vcp_is_connected(void);
34
int usb_vcp_rx_any(void);
45
char usb_vcp_rx_get(void);
56
void usb_vcp_send_str(const char* str);

0 commit comments

Comments
 (0)