summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoratoktoto <[email protected]>2022-11-21 10:29:26 +0100
committeratoktoto <[email protected]>2022-11-21 10:29:26 +0100
commit34729b1dc46ef9cee3446e22c88e8484395f1fa7 (patch)
treecd265053047b225bf09b3cf38d4aaaac2b464bc7
parent375e822770ebffbda1b819bba1a9d468ddcfec52 (diff)
Fix usb-hub data transfer problems by AndrewCapon
-rw-r--r--src/class/midi/midi_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/class/midi/midi_host.c b/src/class/midi/midi_host.c
index bc87898cc..8df1b2005 100644
--- a/src/class/midi/midi_host.c
+++ b/src/class/midi/midi_host.c
@@ -529,7 +529,7 @@ bool tuh_midi_read_poll( uint8_t dev_addr )
if (in_edpt_not_busy)
{
TU_LOG2("Requesting poll IN endpoint %d\r\n", p_midi_host->ep_in);
- TU_ASSERT(usbh_edpt_xfer(p_midi_host->dev_addr, p_midi_host->ep_in, _midi_host->epin_buf, _midi_host->ep_in_max), 0);
+ TU_ASSERT(usbh_edpt_xfer(p_midi_host->dev_addr, p_midi_host->ep_in, p_midi_host->epin_buf, p_midi_host->ep_in_max), 0);
result = true;
}
else