diff options
| author | hathach <[email protected]> | 2014-02-20 16:06:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-02-20 16:06:31 +0700 |
| commit | 4b6c6929cbfb4d1b92a62df84f92e83fa861f4d8 (patch) | |
| tree | 818eecd011c64a644e712e8c4080e16fc7f30c7e /tinyusb/host/usbh.c | |
| parent | 533c8d2eed68fe76242fa5dcd2b1733d6278a4e8 (diff) | |
fix the duplicated plug connection status change with lpc17xx by using immediate reset on isr. However Khanh's G5 mouse is not enumerated !!
remove TUSB_CFG_CONFIGURATION_MAX from config file
fix some warning
Diffstat (limited to 'tinyusb/host/usbh.c')
| -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 de9e15164..229c9da65 100644 --- a/tinyusb/host/usbh.c +++ b/tinyusb/host/usbh.c @@ -375,7 +375,7 @@ tusb_error_t enumeration_body_subtask(void) { if( hcd_port_connect_status(usbh_devices[0].core_id) ) { // connection event - osal_task_delay(200); // wait until device is stable + osal_task_delay(200); // wait until device is stable. Increase this if the first 8 bytes is failed to get if ( !hcd_port_connect_status(usbh_devices[0].core_id) ) SUBTASK_EXIT(TUSB_ERROR_NONE); // exit if device unplugged while delaying |
