diff options
| author | hathach <[email protected]> | 2019-06-10 18:46:00 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2019-06-10 18:46:00 +0700 |
| commit | 7156bfb54d5e9e13c8574b2384a47bd5554798a9 (patch) | |
| tree | 38493c441211bd5e79bc1e468842aab504f95bca /examples/device | |
| parent | 15208e710a4122bc11417f5f8980e7a02c1a2a4f (diff) | |
fix build error with midi, use usbd_edpt_xfer/busy for midi to replace dcd_*
Diffstat (limited to 'examples/device')
| -rw-r--r-- | examples/device/cdc_msc_hid/src/tusb_config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/device/cdc_msc_hid/src/tusb_config.h b/examples/device/cdc_msc_hid/src/tusb_config.h index 6b1f0700b..2c89a63b7 100644 --- a/examples/device/cdc_msc_hid/src/tusb_config.h +++ b/examples/device/cdc_msc_hid/src/tusb_config.h @@ -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 |
