fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*

This commit is contained in:
hathach
2019-06-10 18:46:00 +07:00
parent 15208e710a
commit 7156bfb54d
8 changed files with 14 additions and 8 deletions

View File

@@ -95,6 +95,9 @@
// Should be sufficient to hold ID (if any) + Data
#define CFG_TUD_HID_BUFSIZE 16
#define CFG_TUD_MIDI_RX_BUFSIZE 512
#define CFG_TUD_MIDI_TX_BUFSIZE 512
#ifdef __cplusplus
}
#endif

View File

@@ -13,6 +13,7 @@ SRC_C += \
src/class/msc/msc_device.c \
src/class/cdc/cdc_device.c \
src/class/hid/hid_device.c \
src/class/midi/midi_device.c \
src/tusb.c \
src/portable/$(VENDOR)/$(CHIP_FAMILY)/dcd_$(CHIP_FAMILY).c