X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6a10d6b465be27db090d760dc0fbe722c94e4344..253deb996f321c59c102a64e17f95d0b5b0a0e6d:/LUFA/Drivers/USB/LowLevel/Host.c?ds=sidebyside diff --git a/LUFA/Drivers/USB/LowLevel/Host.c b/LUFA/Drivers/USB/LowLevel/Host.c index 7acbffe71..fe02f7cd1 100644 --- a/LUFA/Drivers/USB/LowLevel/Host.c +++ b/LUFA/Drivers/USB/LowLevel/Host.c @@ -28,7 +28,8 @@ this software. */ -#include "USBMode.h" +#include "../HighLevel/USBMode.h" + #if defined(USB_CAN_BE_HOST) #include "Host.h" @@ -86,15 +87,15 @@ void USB_Host_ResetDevice(void) USB_INT_Disable(USB_INT_DDISCI); USB_Host_ResetBus(); - while (!(USB_Host_IsResetBusDone())); + while (!(USB_Host_IsBusResetComplete())); USB_INT_Clear(USB_INT_HSOFI); USB_Host_ResumeBus(); for (uint8_t MSRem = 10; MSRem != 0; MSRem--) { - /* Workaround for powerless-pullup devices. After a USB bus reset, - all disconnection interrupts are supressed while a USB frame is + /* Workaround for powerless-pull-up devices. After a USB bus reset, + all disconnection interrupts are suppressed while a USB frame is looked for - if it is found within 10ms, the device is still present. */