forked from mfulz_github/qmk_firmware
Fixed re-enumeration issue of XMEGA architecture targets.
This commit is contained in:
parent
a4a6958524
commit
ea58513558
|
@ -41,6 +41,7 @@
|
|||
* under some circumstances
|
||||
* - Fixed incorrect USB device state set when a suspended LUFA device is woken while addressed but not configured (thanks to Balaji Krishnan)
|
||||
* - Fixed broken USART SPI driver for the AVR8 architecture due to incorrect initialization
|
||||
* - Fixed re-enumeration issue of XMEGA architecture targets (thanks to xjedlins)
|
||||
* - Library Applications:
|
||||
* - Added handler for SCSI_CMD_START_STOP_UNIT in demos using the Mass Storage class, to prevent ejection errors on *nix systems due to an
|
||||
* unknown SCSI command
|
||||
|
|
|
@ -93,7 +93,7 @@ ISR(USB_BUSEVENT_vect)
|
|||
USB_DeviceState = DEVICE_STATE_Default;
|
||||
USB_Device_ConfigurationNumber = 0;
|
||||
|
||||
USB_Device_SetDeviceAddress(0);
|
||||
USB_Device_EnableDeviceAddress(0);
|
||||
|
||||
Endpoint_ClearEndpoints();
|
||||
Endpoint_ConfigureEndpoint(ENDPOINT_CONTROLEP, EP_TYPE_CONTROL,
|
||||
|
|
Loading…
Reference in New Issue