diff options
| author | hathach <[email protected]> | 2013-12-19 12:43:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-12-19 12:43:22 +0700 |
| commit | cfcef0558a5b8ab797408f998074fa0ba6703ece (patch) | |
| tree | a5d468a79f9e4ad4e369b46e97e8f9408aa7ffa7 /tinyusb/host/ohci | |
| parent | fce62524569e395709612a93bbe1c7cb4e72b6bd (diff) | |
fix plug & unplug issue by reseting port immediately instead of waiting for usbh enumeration task to do so
Diffstat (limited to 'tinyusb/host/ohci')
| -rw-r--r-- | tinyusb/host/ohci/ohci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tinyusb/host/ohci/ohci.c b/tinyusb/host/ohci/ohci.c index b108dfe16..68954f83e 100644 --- a/tinyusb/host/ohci/ohci.c +++ b/tinyusb/host/ohci/ohci.c @@ -666,6 +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;
usbh_hcd_rhport_plugged_isr(0);
}else
{
|
