Fix broken XMEGA USB support.
This commit is contained in:
parent
f8f8ac0b1a
commit
fb18c315d0
5 changed files with 17 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue