projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed re-enumeration issue of XMEGA architecture targets.
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
Core
/
XMEGA
/
USBInterrupt_XMEGA.c
diff --git
a/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c
b/LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c
index
209bf94
..
9651193
100644
(file)
--- a/
LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c
+++ b/
LUFA/Drivers/USB/Core/XMEGA/USBInterrupt_XMEGA.c
@@
-93,7
+93,7
@@
ISR(USB_BUSEVENT_vect)
USB_DeviceState = DEVICE_STATE_Default;
USB_Device_ConfigurationNumber = 0;
- USB_Device_
Set
DeviceAddress(0);
+ USB_Device_
Enable
DeviceAddress(0);
Endpoint_ClearEndpoints();
Endpoint_ConfigureEndpoint(ENDPOINT_CONTROLEP, EP_TYPE_CONTROL,