diff options
| author | hathach <[email protected]> | 2022-04-20 13:25:38 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-04-20 13:25:38 +0700 |
| commit | a90839688c11338451729838e45ae3aaa58864fe (patch) | |
| tree | ac572a052f4bd242d39b89376d11255f69de5dc4 /src/portable | |
| parent | 9c8c5c1c53214b8954bb28c33a496b5b423d5ecc (diff) | |
add msec timeout to osal_queue_receive(), tud_task() and tuh_task() both pending for event queue with timeout of 1 ms
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); |
