diff options
| author | Ha Thach <[email protected]> | 2022-04-20 23:32:50 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-04-20 23:32:50 +0700 |
| commit | 55a5fd59d7263289f5c26d52ab206ed571cc1e0c (patch) | |
| tree | 17f0c6d038ea9a73fdc78d94f15e50f2b3233b5c /src/portable | |
| parent | 9c8c5c1c53214b8954bb28c33a496b5b423d5ecc (diff) | |
| parent | 87572871d586856242c1fa44b1532a09e624162d (diff) | |
Merge pull request #1440 from hathach/osal-queue-timeout
Osal queue timeout
Diffstat (limited to 'src/portable')
| -rw-r--r-- | src/portable/sony/cxd56/dcd_cxd56.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portable/sony/cxd56/dcd_cxd56.c b/src/portable/sony/cxd56/dcd_cxd56.c index fbea03b1d..d3154e58f 100644 --- a/src/portable/sony/cxd56/dcd_cxd56.c +++ b/src/portable/sony/cxd56/dcd_cxd56.c @@ -363,7 +363,7 @@ bool dcd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t *buffer, uint16_t to if (usbdcd_driver.setup_processed) { - if (osal_queue_receive(usbdcd_driver.setup_queue, &ctrl)) + if (osal_queue_receive(usbdcd_driver.setup_queue, &ctrl, 100)) { usbdcd_driver.setup_processed = false; dcd_event_setup_received(0, (uint8_t *)&ctrl, false); |
