Skip to content

Commit 110a548

Browse files
authored
Merge pull request #561 from rppicomidi/fix_560
Enable support for MIDI Host in arduino/ports/rp2040
2 parents 2ccf4c2 + b8e5895 commit 110a548

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/arduino/ports/rp2040/tusb_config_rp2040.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ extern "C" {
137137
// max device support (excluding hub device): 1 hub typically has 4 ports
138138
#define CFG_TUH_DEVICE_MAX (3 * CFG_TUH_HUB + 1)
139139

140+
// enable MIDI Host
141+
#define CFG_TUH_MIDI 1
142+
140143
// Enable tuh_edpt_xfer() API
141144
// #define CFG_TUH_API_EDPT_XFER 1
142145

0 commit comments

Comments
 (0)