summaryrefslogtreecommitdiff
path: root/tinyusb/host/ehci
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-10-01 13:53:54 +0700
committerhathach <[email protected]>2013-10-01 13:53:54 +0700
commit640b0ec5467eadf153c4a09d53e0a38bae752685 (patch)
tree1d589605ee186827ba6bd70958dd9286ca5ac535 /tinyusb/host/ehci
parent7f4a3fc8294e733a9ba52d20fa16ca6662721126 (diff)
- move disconnection handle to enum task --> move tusbh_xxx_unmount is invoked in non-isr context
Diffstat (limited to 'tinyusb/host/ehci')
-rw-r--r--tinyusb/host/ehci/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tinyusb/host/ehci/ehci.c b/tinyusb/host/ehci/ehci.c
index 9cebff790..756c7dcb9 100644
--- a/tinyusb/host/ehci/ehci.c
+++ b/tinyusb/host/ehci/ehci.c
@@ -564,11 +564,11 @@ static void port_connect_status_change_isr(uint8_t hostid)
// NOTE There is an sequence plug->unplug->…..-> plug if device is powering with pre-plugged device
if (regs->portsc_bit.current_connect_status)
{
- usbh_device_plugged_isr(hostid, 0, 0);
+ usbh_hcd_rhport_plugged_isr(hostid, 0, 0);
}else // device unplugged
{
usbh_hcd_rhport_unplugged_isr(hostid);
- regs->usb_cmd_bit.advacne_async = 1; // Async doorbell check EHCI 4.8.2 for operational details
+// regs->usb_cmd_bit.advacne_async = 1; // Async doorbell check EHCI 4.8.2 for operational details
}
}