Changed PIPE_CONTROLPIPE_DEFAULT_SIZE from 8 to 64 to try to prevent problems with...
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / Host.c
index 7acbffe..fe02f7c 100644 (file)
@@ -28,7 +28,8 @@
   this software.\r
 */\r
 \r
-#include "USBMode.h"\r
+#include "../HighLevel/USBMode.h"\r
+\r
 #if defined(USB_CAN_BE_HOST)\r
 \r
 #include "Host.h"\r
@@ -86,15 +87,15 @@ void USB_Host_ResetDevice(void)
        USB_INT_Disable(USB_INT_DDISCI);\r
        \r
        USB_Host_ResetBus();\r
-       while (!(USB_Host_IsResetBusDone()));\r
+       while (!(USB_Host_IsBusResetComplete()));\r
 \r
        USB_INT_Clear(USB_INT_HSOFI);\r
        USB_Host_ResumeBus();   \r
        \r
        for (uint8_t MSRem = 10; MSRem != 0; MSRem--)\r
        {\r
-               /* Workaround for powerless-pullup devices. After a USB bus reset,\r
-                  all disconnection interrupts are supressed while a USB frame is\r
+               /* Workaround for powerless-pull-up devices. After a USB bus reset,\r
+                  all disconnection interrupts are suppressed while a USB frame is\r
                   looked for - if it is found within 10ms, the device is still\r
                   present.                                                        */\r
 \r