summaryrefslogtreecommitdiff
path: root/supervisor/shared
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-04-12 20:36:59 -0400
committerGitHub <noreply@github.com>2019-04-12 20:36:59 -0400
commitf8473f4a3917f7816fccd1be2a67041a7dfce5ef (patch)
tree77513b415d116ec45c5ec62e959d5f73962ffc6d /supervisor/shared
parentc064deaaf5a80dab681027aaf09e058a760dbf01 (diff)
parentdefc6dceb0c018bc67a4041f91a2f277eebb4dbc (diff)
Merge pull request #1788 from tannewt/pinyin4.0.0-beta.7
Add Chinese (Pinyin) and slim down boards so it fits
Diffstat (limited to 'supervisor/shared')
-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) {