aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/hal/src/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/src/usb.c b/os/hal/src/usb.c
index ce888e570..2075cd7a2 100644
--- a/os/hal/src/usb.c
+++ b/os/hal/src/usb.c
@@ -553,7 +553,7 @@ msg_t usbTransmit(USBDriver *usbp, usbep_t ep, const uint8_t *buf, size_t n) {
usbPrepareTransmit(usbp, ep, buf, n);
osalSysLock();
- usbStartReceiveI(usbp, ep);
+ usbStartTransmitI(usbp, ep);
msg = osalThreadSuspendS(&usbp->epc[ep]->in_state->thread);
osalSysUnlock();