From 904e94abeb6f5a94f26d4467ce8f69ba00b727e8 Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Mon, 22 Mar 2021 15:04:57 -0500 Subject: make declatations of usb_msc_ routines conditional .. as suggested by @dhalbert --- supervisor/usb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'supervisor/usb.h') 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 -- cgit v1.2.3