aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/USB/Core/DeviceStandardReq.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2013-01-27 19:35:40 +0000
committerDean Camera <dean@fourwalledcubicle.com>2013-01-27 19:35:40 +0000
commitfb18c315d02303e3f32fda41fcde3b16e747f10b (patch)
treef828d9d8f650227710daacc502a3c8a41c61f199 /LUFA/Drivers/USB/Core/DeviceStandardReq.c
parentf8f8ac0b1a4745da8e5311ddb0bd395b7dd18ba8 (diff)
downloadlufa-fb18c315d02303e3f32fda41fcde3b16e747f10b.tar.gz
lufa-fb18c315d02303e3f32fda41fcde3b16e747f10b.tar.bz2
lufa-fb18c315d02303e3f32fda41fcde3b16e747f10b.zip
Fix broken XMEGA USB support.
Diffstat (limited to 'LUFA/Drivers/USB/Core/DeviceStandardReq.c')
-rw-r--r--LUFA/Drivers/USB/Core/DeviceStandardReq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/DeviceStandardReq.c b/LUFA/Drivers/USB/Core/DeviceStandardReq.c
index 6284dd389..3176e15bc 100644
--- a/LUFA/Drivers/USB/Core/DeviceStandardReq.c
+++ b/LUFA/Drivers/USB/Core/DeviceStandardReq.c
@@ -134,7 +134,7 @@ static void USB_Device_SetAddress(void)
while (!(Endpoint_IsINReady()));
- USB_Device_EnableDeviceAddress();
+ USB_Device_EnableDeviceAddress(DeviceAddress);
USB_DeviceState = (DeviceAddress) ? DEVICE_STATE_Addressed : DEVICE_STATE_Default;
}