Merge pull request #335 from xross/fix/258

bNumConfigurations changes from 2 to 1
This commit is contained in:
Ross Owen
2023-06-14 19:09:28 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ lib_xua Change Log
* ADDED: Support for statically defined custom HID descriptor
* CHANGED: Rearranged main() such that adding custom code that uses lib_xud
is possible
* CHANGED: bNumConfigurations changed from 2 to 1, removing a work-around to
stop old Windows versions loading the composite driver
* FIXED: Memory corruption due to erroneous initialisation of mixer
weights when not in use (#152)
* FIXED: UserHostActive() not being called as expected (#326)

View File

@@ -481,7 +481,7 @@ USB_Descriptor_Device_t devDesc_Audio2 =
.iManufacturer = offsetof(StringDescTable_t, vendorStr)/sizeof(char *),
.iProduct = offsetof(StringDescTable_t, productStr_Audio2)/sizeof(char *),
.iSerialNumber = offsetof(StringDescTable_t, serialStr)/sizeof(char *),
.bNumConfigurations = 0x02 /* Set to 2 such that windows does not load composite driver */
.bNumConfigurations = 0x01
};
/* Device Descriptor for Null Device */