aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.c2
-rw-r--r--LUFA/Drivers/USB/LowLevel/Pipe.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.c b/LUFA/Drivers/USB/LowLevel/Endpoint.c
index 273e1908a..3376098ed 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.c
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.c
@@ -83,7 +83,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);
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.c b/LUFA/Drivers/USB/LowLevel/Pipe.c
index 743bb91f2..496df33de 100644
--- a/LUFA/Drivers/USB/LowLevel/Pipe.c
+++ b/LUFA/Drivers/USB/LowLevel/Pipe.c
@@ -68,7 +68,7 @@ void Pipe_ClearPipes(void)
uint8_t Pipe_WaitUntilReady(void)
{
- uint8_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;
+ uint16_t TimeoutMSRem = USB_STREAM_TIMEOUT_MS;
USB_INT_Clear(USB_INT_HSOFI);