diff options
| author | Damien George | 2014-05-21 19:25:34 +0100 |
|---|---|---|
| committer | Damien George | 2014-05-21 19:25:34 +0100 |
| commit | 6d197740cf7067c65f40574f7cf0707480bbf461 (patch) | |
| tree | 7d434232d43782fd4cbb6dc4dce450ca72e180db /stmhal/usb.h | |
| parent | 008343f6408ca6ec3be153e94b6e7824f2ce5a47 (diff) | |
stmhal: Stop USB before entering DFU by software.
Diffstat (limited to 'stmhal/usb.h')
| -rw-r--r-- | stmhal/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/usb.h b/stmhal/usb.h index 8b8562ce6..3bd30ba92 100644 --- a/stmhal/usb.h +++ b/stmhal/usb.h @@ -42,6 +42,7 @@ typedef enum { } usb_storage_medium_t; void pyb_usb_dev_init(usb_device_mode_t mode, usb_storage_medium_t medium); +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); |
