aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/LowLevel/USBInterrupt.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-15 13:11:28 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-15 13:11:28 +0000
commitcce8760b9169dffe1a126e221f4b4c48c83192b9 (patch)
treef20e4e535039310a494cbfc4abef6504893f56f9 /LUFA/Drivers/USB/LowLevel/USBInterrupt.c
parent0d57659fa67f7122155a2e0ecfa0e96c51320f73 (diff)
downloadlufa-cce8760b9169dffe1a126e221f4b4c48c83192b9.tar.gz
lufa-cce8760b9169dffe1a126e221f4b4c48c83192b9.tar.bz2
lufa-cce8760b9169dffe1a126e221f4b4c48c83192b9.zip
Removed the EVENT_USB_InitFailure() event, as not specifying a USB mode to USB_Init() now defaults the controller into UID selection mode.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/USBInterrupt.c')
-rw-r--r--LUFA/Drivers/USB/LowLevel/USBInterrupt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/USBInterrupt.c b/LUFA/Drivers/USB/LowLevel/USBInterrupt.c
index 36541cf7f..a49b8da7b 100644
--- a/LUFA/Drivers/USB/LowLevel/USBInterrupt.c
+++ b/LUFA/Drivers/USB/LowLevel/USBInterrupt.c
@@ -142,8 +142,6 @@ ISR(USB_GEN_vect, ISR_BLOCK)
USB_INT_Disable(USB_INT_SUSPEND);
USB_INT_Enable(USB_INT_WAKEUP);
- Endpoint_ClearEndpoints();
-
Endpoint_ConfigureEndpoint(ENDPOINT_CONTROLEP, EP_TYPE_CONTROL,
ENDPOINT_DIR_OUT, USB_ControlEndpointSize,
ENDPOINT_BANK_SINGLE);