Browse Source

Fix midi after recent refactoring (#19723)

Joel Challis 3 years ago
parent
commit
944b6107e2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      tmk_core/protocol/lufa.mk

+ 4 - 0
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