summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-01-31 01:02:17 +0000
committerGitHub <noreply@github.com>2023-01-31 01:02:17 +0000
commit944b6107e2b23cb6c4699901154e4bbd7ff53231 (patch)
tree732faa68b1f89bb35209cd4eccf95c81fd883450 /tmk_core
parentb867522f8cf90aef6f4531e669e35aba5ec0bf1c (diff)
Fix midi after recent refactoring (#19723)
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/protocol/lufa.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmk_core/protocol/lufa.mk b/tmk_core/protocol/lufa.mk
index a67939906e..b048c1836c 100644
--- a/tmk_core/protocol/lufa.mk
+++ b/tmk_core/protocol/lufa.mk
@@ -17,6 +17,10 @@ LUFA_SRC = lufa.c \
usb_descriptor.c \
$(LUFA_SRC_USB)
+ifeq ($(strip $(MIDI_ENABLE)), yes)
+ LUFA_SRC += $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/MIDIClassDevice.c
+endif
+
ifeq ($(strip $(VIRTSER_ENABLE)), yes)
LUFA_SRC += $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/CDCClassDevice.c
endif