aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/Endpoint.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-14 07:44:02 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-14 07:44:02 +0000
commit4d3a594f3e26447ba223ac58292c9a77480ceed3 (patch)
tree1bf9da2a2290ccdb594dffd8af29cfafae231900 /LUFA/Drivers/USB/LowLevel/Endpoint.c
parent9798440ca4f694e7cd8312a51b82e59589f1ebeb (diff)
downloadlufa-4d3a594f3e26447ba223ac58292c9a77480ceed3.tar.gz
lufa-4d3a594f3e26447ba223ac58292c9a77480ceed3.tar.bz2
lufa-4d3a594f3e26447ba223ac58292c9a77480ceed3.zip
Changed per-device controller preprocessor checks over to per-device series for better device control.
Fixed error in Endpoint.c using HSOFI rather than SOFI for counting elapsed milliseconds.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Endpoint.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/Endpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.c b/LUFA/Drivers/USB/LowLevel/Endpoint.c
index fd97b75c1..dca755497 100644
--- a/LUFA/Drivers/USB/LowLevel/Endpoint.c
+++ b/LUFA/Drivers/USB/LowLevel/Endpoint.c
@@ -98,9 +98,9 @@ uint8_t Endpoint_WaitUntilReady(void)
else if (Endpoint_IsStalled())
return ENDPOINT_READYWAIT_EndpointStalled;
- if (USB_INT_HasOccurred(USB_INT_HSOFI))
+ if (USB_INT_HasOccurred(USB_INT_SOFI))
{
- USB_INT_Clear(USB_INT_HSOFI);
+ USB_INT_Clear(USB_INT_SOFI);
if (!(TimeoutMSRem--))
return ENDPOINT_READYWAIT_Timeout;