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:
- 29:d3b77affed28
- Parent:
- 28:8e62b6403505
--- a/USBHost/USBHALHost_RZ_A1.cpp Fri Feb 27 10:01:08 2015 +0000
+++ b/USBHost/USBHALHost_RZ_A1.cpp Tue Mar 31 16:15:42 2015 +0100
@@ -47,7 +47,7 @@
}
void USBHALHost::init() {
- ohciwrapp_init(&_usbisr, 1);
+ ohciwrapp_init(&_usbisr);
ohciwrapp_reg_w(OHCI_REG_CONTROL, 1); // HARDWARE RESET
ohciwrapp_reg_w(OHCI_REG_CONTROLHEADED, 0); // Initialize Control list head to Zero
@@ -266,9 +266,6 @@
usb_hcca->DoneHead = 0;
}
- // wait 200ms to avoid bounce
- wait_ms(200);
-
deviceDisconnected(0, 1, NULL, usb_hcca->DoneHead & 0xFFFFFFFE);
if (int_status & OR_INTR_STATUS_WDH) {
