diff options
| author | hathach <[email protected]> | 2022-12-16 15:19:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-12-16 15:19:40 +0700 |
| commit | 1e99480ad28808a29938673d5b05d9461da5d1c1 (patch) | |
| tree | 1c5f430dc6599d7203610aa518e2432feeb1941e /src | |
| parent | 96d2be905ba331419a34a64bba6baaaf006ae26f (diff) | |
fix ci with usbh and unit test
Diffstat (limited to 'src')
| -rw-r--r-- | src/host/usbh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/host/usbh.c b/src/host/usbh.c index ff8fbaef3..ca42a523c 100644 --- a/src/host/usbh.c +++ b/src/host/usbh.c @@ -578,9 +578,9 @@ bool tuh_control_xfer (tuh_xfer_t* xfer) TU_ATTR_ALWAYS_INLINE static inline void _set_control_xfer_stage(uint8_t stage) { - osal_mutex_lock(_usbh_mutex, OSAL_TIMEOUT_WAIT_FOREVER); + (void) osal_mutex_lock(_usbh_mutex, OSAL_TIMEOUT_WAIT_FOREVER); _ctrl_xfer.stage = stage; - osal_mutex_unlock(_usbh_mutex); + (void) osal_mutex_unlock(_usbh_mutex); } static void _xfer_complete(uint8_t daddr, xfer_result_t result) |
