modified to compile for me

Dependencies:   FATFileSystem

Dependents:   N64_Output_XPAD

Fork of F401RE-USBHost by Norimasa Okamoto

Revision:
27:1b65f379ad07
Parent:
18:61554f238584
Child:
28:98551d9289a8
--- a/USBHost/USBHost.cpp	Mon Dec 05 02:39:32 2016 +0000
+++ b/USBHost/USBHost.cpp	Mon Dec 12 01:07:35 2016 +0000
@@ -51,10 +51,11 @@
     wait_ms(100);
 
     int rc = controlRead(dev, 0x80, GET_DESCRIPTOR, 1<<8, 0, desc, 8);
-    USB_TEST_ASSERT(rc == USB_TYPE_OK);
+    USB_TEST_ASSERT(rc == USB_TYPE_OK); // randomly fails if xbone is plugged in when it turns on
     if (rc != USB_TYPE_OK) {
         USB_ERR("ADD DEVICE FAILD");
     }
+    
     USB_DBG_HEX(desc, 8);
     DeviceDescriptor* dev_desc = reinterpret_cast<DeviceDescriptor*>(desc);
     ep->setSize(dev_desc->bMaxPacketSize);