aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/OTGv1/usb_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/STM32/OTGv1/usb_lld.c')
-rw-r--r--os/hal/ports/STM32/OTGv1/usb_lld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/ports/STM32/OTGv1/usb_lld.c b/os/hal/ports/STM32/OTGv1/usb_lld.c
index a6197feb8..39464b367 100644
--- a/os/hal/ports/STM32/OTGv1/usb_lld.c
+++ b/os/hal/ports/STM32/OTGv1/usb_lld.c
@@ -305,7 +305,7 @@ static void otg_fifo_write_from_queue(volatile uint32_t *fifop,
/* Updating queue.*/
osalSysLock();
oqp->q_counter += n;
- osalQueueWakeupAllI(&oqp->q_waiting, Q_OK);
+ osalThreadDequeueAllI(&oqp->q_waiting, Q_OK);
osalOsRescheduleS();
osalSysUnlock();
}
@@ -416,7 +416,7 @@ static void otg_fifo_read_to_queue(volatile uint32_t *fifop,
/* Updating queue.*/
osalSysLock();
iqp->q_counter += n;
- osalQueueWakeupAllI(&iqp->q_waiting, Q_OK);
+ osalThreadDequeueAllI(&iqp->q_waiting, Q_OK);
osalOsRescheduleS();
osalSysUnlock();
}