X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6a10d6b465be27db090d760dc0fbe722c94e4344..ecaf872177e771b6b7e331b47a5b68832b5dd126:/LUFA/Drivers/USB/LowLevel/Endpoint.c diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.c b/LUFA/Drivers/USB/LowLevel/Endpoint.c index 273e1908a..aa18358c8 100644 --- a/LUFA/Drivers/USB/LowLevel/Endpoint.c +++ b/LUFA/Drivers/USB/LowLevel/Endpoint.c @@ -28,7 +28,8 @@ this software. */ -#include "USBMode.h" +#include "../HighLevel/USBMode.h" + #if defined(USB_CAN_BE_DEVICE) #define INCLUDE_FROM_ENDPOINT_C @@ -83,7 +84,7 @@ void Endpoint_ClearEndpoints(void) uint8_t Endpoint_WaitUntilReady(void) { - uint8_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS; + uint16_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS; USB_INT_Clear(USB_INT_SOFI);