diff options
| author | hathach <[email protected]> | 2021-09-01 20:01:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-09-01 20:01:40 +0700 |
| commit | d4c56c70a80a6df81f403627e897c50b0a94601e (patch) | |
| tree | 1e3411d89efc7b3cdeb2b0f8759e5783408bf84d /src | |
| parent | d6e9fe38beefbea787dad151dfeb3c62be96d527 (diff) | |
minor clean up
Diffstat (limited to 'src')
| -rw-r--r-- | src/device/usbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/usbd.c b/src/device/usbd.c index 912bae9a8..a52ea9afe 100644 --- a/src/device/usbd.c +++ b/src/device/usbd.c @@ -1214,7 +1214,7 @@ bool usbd_edpt_claim(uint8_t rhport, uint8_t ep_addr) #if CFG_TUSB_OS != OPT_OS_NONE // pre-check to help reducing mutex lock - TU_VERIFY( (_usbd_dev.ep_status[epnum][dir].busy == 0) && (_usbd_dev.ep_status[epnum][dir].claimed == 0)); + TU_VERIFY((_usbd_dev.ep_status[epnum][dir].busy == 0) && (_usbd_dev.ep_status[epnum][dir].claimed == 0)); osal_mutex_lock(_usbd_mutex, OSAL_TIMEOUT_WAIT_FOREVER); #endif |
