From 134e018b21df179313c818ec63d6fcd2cce5e5e7 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 15 Mar 2011 08:07:29 +0000 Subject: Fixed Remote Wakeup broken on the AVRs due to the mechanism only operating when the SUSPI bit is set (thanks to Holger Steinhaus). Remove redundant setting of UIDE in the AVR8 and AVR32 USB controller drivers. --- LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c') diff --git a/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c b/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c index aee8940e3..76f4ef022 100644 --- a/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c +++ b/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.c @@ -79,8 +79,6 @@ ISR(USB_GEN_vect) if (USB_INT_HasOccurred(USB_INT_SUSPI) && USB_INT_IsEnabled(USB_INT_SUSPI)) { - USB_INT_Clear(USB_INT_SUSPI); - USB_INT_Disable(USB_INT_SUSPI); USB_INT_Enable(USB_INT_WAKEUPI); -- cgit v1.2.3