summaryrefslogtreecommitdiff
path: root/supervisor/shared/usb
diff options
context:
space:
mode:
Diffstat (limited to 'supervisor/shared/usb')
-rw-r--r--supervisor/shared/usb/usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/supervisor/shared/usb/usb.c b/supervisor/shared/usb/usb.c
index 02a5da6c5..0678a3a3f 100644
--- a/supervisor/shared/usb/usb.c
+++ b/supervisor/shared/usb/usb.c
@@ -70,7 +70,9 @@ void usb_init(void) {
tud_cdc_set_wanted_char(CHAR_CTRL_C);
#endif
+#if CIRCUITPY_USB_MIDI
usb_midi_init();
+#endif
}
void usb_background(void) {