X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6933f2e1a543b066ebe734bd126a7ff2f1c2777f..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 04b06b3da..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,7 +87,7 @@ 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();