diff options
| author | hathach <[email protected]> | 2013-12-19 13:55:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-12-19 13:55:22 +0700 |
| commit | d020c2f609750fd82a31cb91f3e35f3dd87d2ef7 (patch) | |
| tree | f1ea58956058a92b80b74d3b890352c10dd61e57 /tinyusb/host/ohci | |
| parent | cfcef0558a5b8ab797408f998074fa0ba6703ece (diff) | |
remove immediately reset when device plug.
check to make sure device is still plug after initial delay (200ms) before reset
remove blocking waiting when reset in ehci.c
Diffstat (limited to 'tinyusb/host/ohci')
| -rw-r--r-- | tinyusb/host/ohci/ohci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/host/ohci/ohci.c b/tinyusb/host/ohci/ohci.c index 68954f83e..75688cfca 100644 --- a/tinyusb/host/ohci/ohci.c +++ b/tinyusb/host/ohci/ohci.c @@ -666,7 +666,7 @@ void hcd_isr(uint8_t hostid) {
if ( OHCI_REG->rhport_status_bit[0].current_connect_status )
{
- OHCI_REG->rhport_status[0] = OHCI_RHPORT_PORT_RESET_STATUS_MASK;
+// OHCI_REG->rhport_status[0] = OHCI_RHPORT_PORT_RESET_STATUS_MASK; // reset port immediately
usbh_hcd_rhport_plugged_isr(0);
}else
{
|
