Skip to content

Commit

Permalink
bNumConfigurations changes from 2 to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
xross committed Jun 14, 2023
1 parent 4528bed commit e5a2703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib_xua/src/core/endpoint0/xua_ep0_descriptors.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit e5a2703

Please sign in to comment.