diff options
author | nezumee <75586849+nezumee@users.noreply.github.com> | 2022-10-09 13:08:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-09 21:08:27 +0100 |
commit | d6d6cdcb4faf5a17ab35f562be6e750fb1c2dc89 (patch) | |
tree | ff9b092d0fd973a6a53d78adca301cc25997d3c4 /tmk_core/protocol | |
parent | 219c18703eb62bd9c4053770d5440e1a0dd3bec2 (diff) |
Make MIDI output endpoint use the out direction (#18654)
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r-- | tmk_core/protocol/lufa/lufa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index fa3ced8fd6..f27256a0e8 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c @@ -422,7 +422,7 @@ void EVENT_USB_Device_ConfigurationChanged(void) { #ifdef MIDI_ENABLE /* Setup MIDI stream endpoints */ ConfigSuccess &= Endpoint_ConfigureEndpoint((MIDI_STREAM_IN_EPNUM | ENDPOINT_DIR_IN), EP_TYPE_BULK, MIDI_STREAM_EPSIZE, 1); - ConfigSuccess &= Endpoint_ConfigureEndpoint((MIDI_STREAM_OUT_EPNUM | ENDPOINT_DIR_IN), EP_TYPE_BULK, MIDI_STREAM_EPSIZE, 1); + ConfigSuccess &= Endpoint_ConfigureEndpoint((MIDI_STREAM_OUT_EPNUM | ENDPOINT_DIR_OUT), EP_TYPE_BULK, MIDI_STREAM_EPSIZE, 1); #endif #ifdef VIRTSER_ENABLE |