eclipse-threadx/usbx

_ux_utility_mutex_on() function called from ISR fails with TX_WAIT_ERROR

tdjastrzebski opened this issue · 1 comments

Trying to get one of the STM32 USBX examples available here (MSC host) I stumbled upon an error which probably should not have happen.
Within _ux_utility_mutex_on() function tx_mutex_get() is called with TX_WAIT_FOREVER option which results in TX_WAIT_ERROR error since the call originated from OTG_FS_IRQHandler ISR.
I think this may be a bug.
USBX version is 6.2.0, compiler GCC.

USBX-2 USBX-3

see #48