diff options
| author | hathach <[email protected]> | 2014-04-24 23:40:28 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-04-24 23:40:28 +0700 |
| commit | 6804fee0fa571907f9311cce4f5e65aaa569dd1a (patch) | |
| tree | 9918723748113462caede6faf8ce4f2a714a14a5 /tinyusb/host | |
| parent | 75793bd8f3648d9dd0ff767dc2c1bf7eb8def2da (diff) | |
correct dcd_pipe_is_busy to use list_qtd_idx[] instead of qtd_overlay
flush usbd_queue_hdl when bus_reset
add assert check for osal_queue_send
increase ENUM_QUEUE_DEPTH for usbh
change osal_freeRTOS.h implementation to
- correctly waiting forever for semaphore wait, queue & mutex
- not use ISR safe version since it is not as generic as we want
Diffstat (limited to 'tinyusb/host')
| -rw-r--r-- | tinyusb/host/usbh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/usbh.c b/tinyusb/host/usbh.c index 542f6d5bf..b36fa7cd1 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -108,7 +108,7 @@ enum { USBH_CLASS_DRIVER_COUNT = sizeof(usbh_class_drivers) / sizeof(host_class_ TUSB_CFG_ATTR_USBRAM usbh_device_info_t usbh_devices[TUSB_CFG_HOST_DEVICE_MAX+1]; // including zero-address
//------------- Enumeration Task Data -------------/
-enum { ENUM_QUEUE_DEPTH = 8 };
+enum { ENUM_QUEUE_DEPTH = 16 };
OSAL_TASK_DEF(usbh_enumeration_task, 200, TUSB_CFG_OS_TASK_PRIO);
OSAL_QUEUE_DEF(enum_queue_def, ENUM_QUEUE_DEPTH, uint32_t);
|
