diff options
author | Joel Challis <git@zvecr.com> | 2023-01-31 01:02:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-31 01:02:17 +0000 |
commit | 944b6107e2b23cb6c4699901154e4bbd7ff53231 (patch) | |
tree | 732faa68b1f89bb35209cd4eccf95c81fd883450 /tmk_core/protocol | |
parent | b867522f8cf90aef6f4531e669e35aba5ec0bf1c (diff) |
Fix midi after recent refactoring (#19723)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r-- | tmk_core/protocol/lufa.mk | 4 |
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 |