Fix midi after recent refactoring (#19723)

This commit is contained in:
Joel Challis 2023-01-31 01:02:17 +00:00 committed by GitHub
parent b867522f8c
commit 944b6107e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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