make declatations of usb_msc_ routines conditional

.. as suggested by @dhalbert
This commit is contained in:
Jeff Epler 2021-03-22 15:04:57 -05:00
parent 5a0e9945e6
commit 904e94abeb
1 changed files with 2 additions and 0 deletions

View File

@ -54,8 +54,10 @@ void usb_init(void);
void usb_disconnect(void);
// Propagate plug/unplug events to the MSC logic.
#if CIRCUITPY_USB_MSC
void usb_msc_mount(void);
void usb_msc_umount(void);
bool usb_msc_ejected(void);
#endif
#endif // MICROPY_INCLUDED_SUPERVISOR_USB_H