diff options
| author | hathach <[email protected]> | 2018-04-12 18:10:35 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-04-12 18:10:35 +0700 |
| commit | a24615bffcba2272af9d0d75bdefb6a8a6180e89 (patch) | |
| tree | addaecd568c1f9b5d1d402b7083bcd1d1851ca6f /tinyusb/device | |
| parent | 752a9f45d70959e36cf8c0cf3a5cd0c24731635e (diff) | |
add OSAL_TIMEOUT_CONTROL_XFER = OSAL_TIMEOUT_WAIT_FOREVER
Diffstat (limited to 'tinyusb/device')
| -rw-r--r-- | tinyusb/device/usbd_pvt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/device/usbd_pvt.h b/tinyusb/device/usbd_pvt.h index cf1d822b2..0b9f3e81e 100644 --- a/tinyusb/device/usbd_pvt.h +++ b/tinyusb/device/usbd_pvt.h @@ -60,7 +60,7 @@ void usbd_task( void* param); if (_len) { \ tusb_error_t err;\ dcd_control_xfer(_rhport, _dir, _buffer, _len);\ - osal_semaphore_wait( _usbd_ctrl_sem, OSAL_TIMEOUT_NORMAL, &err );\ + osal_semaphore_wait( _usbd_ctrl_sem, OSAL_TIMEOUT_CONTROL_XFER, &err );\ STASK_ASSERT_ERR( err );\ }\ /* No need to wait for status to complete therefore */ \ |
