2018.07.26
Dependencies: FATFileSystem3 mbed-rtos
Fork of USBHost by
Diff: USBHost/USBHALHost_RZ_A1.cpp
- Revision:
- 36:140defdf151c
- Parent:
- 29:d3b77affed28
- Child:
- 41:f72ccc6892ee
diff -r 220cd93c9a5f -r 140defdf151c USBHost/USBHALHost_RZ_A1.cpp --- 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);