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

View file

@ -17,6 +17,10 @@ LUFA_SRC = lufa.c \
usb_descriptor.c \ usb_descriptor.c \
$(LUFA_SRC_USB) $(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) ifeq ($(strip $(VIRTSER_ENABLE)), yes)
LUFA_SRC += $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/CDCClassDevice.c LUFA_SRC += $(LUFA_ROOT_PATH)/Drivers/USB/Class/Device/CDCClassDevice.c
endif endif