Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FATFileSystem mbed-rtos
Fork of USBHost by
Diff: USBHost/USBHALHost_RZ_A1.cpp
- Revision:
- 32:140defdf151c
- Parent:
- 29:d3b77affed28
- Child:
- 35:f72ccc6892ee
--- a/USBHost/USBHALHost_RZ_A1.cpp Mon Jun 01 11:01:25 2015 +0100
+++ b/USBHost/USBHALHost_RZ_A1.cpp Fri Oct 16 07:46:31 2015 +0100
@@ -261,17 +261,7 @@
//Root device disconnected
else {
-
- if (!(int_status & OR_INTR_STATUS_WDH)) {
- usb_hcca->DoneHead = 0;
- }
-
deviceDisconnected(0, 1, NULL, usb_hcca->DoneHead & 0xFFFFFFFE);
-
- if (int_status & OR_INTR_STATUS_WDH) {
- usb_hcca->DoneHead = 0;
- ohciwrapp_reg_w(OHCI_REG_INTERRUPTSTATUS, OR_INTR_STATUS_WDH);
- }
}
}
ohciwrapp_reg_w(OHCI_REG_RHPORTSTATUS1, OR_RH_PORT_CSC);
