summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2021-03-22 15:52:10 -0700
committerGitHub <noreply@github.com>2021-03-22 15:52:10 -0700
commitd52662856bb2a7b5ca6909aa6bb957e8eb3cf871 (patch)
treeeb2c16016f0801a6b2f7e246671e5adf5e42cc08 /supervisor
parent2373e6478027c897aac211e4d5b012944b819ec8 (diff)
parent904e94abeb6f5a94f26d4467ce8f69ba00b727e8 (diff)
Merge pull request #4462 from jepler/disable-usb-cdc
storage: Correct when we check for USB mounts
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/usb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/supervisor/usb.h b/supervisor/usb.h
index 1c709926a..f8fd71371 100644
--- a/supervisor/usb.h
+++ b/supervisor/usb.h
@@ -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