diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-12-17 19:01:03 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-12-17 19:01:03 -0800 |
| commit | 561fdfb279c45f7a9ff69a2b2e71ac272cb6aaef (patch) | |
| tree | 2df85ea58fe4a1718c3508ed28482c6766926cdf /supervisor/usb.h | |
| parent | e9cb47ffbdc9c7ece589c4ee3cb77fcfd20c391b (diff) | |
Improve USB eject by resetting on replug
Diffstat (limited to 'supervisor/usb.h')
| -rw-r--r-- | supervisor/usb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/supervisor/usb.h b/supervisor/usb.h index c87540d40..0cc361619 100644 --- a/supervisor/usb.h +++ b/supervisor/usb.h @@ -41,4 +41,8 @@ void init_usb_hardware(void); bool usb_enabled(void); void usb_init(void); +// Propagate plug/unplug events to the MSC logic. +void usb_msc_mount(void); +void usb_msc_umount(void); + #endif // MICROPY_INCLUDED_SUPERVISOR_USB_H |
