diff options
| author | Frank Voorburg <[email protected]> | 2024-06-29 14:25:02 +0200 |
|---|---|---|
| committer | hathach <[email protected]> | 2024-07-19 20:43:26 +0700 |
| commit | d040644b6cb055532de7d3da3477e20067f1f15f (patch) | |
| tree | c5bcb1e2d376b6ecba20767022c62bd27495e3eb /.github/workflows/codeql-buildscript.sh | |
| parent | c48d2eba0d1cda4e9fadfe58d621ad300dfd6786 (diff) | |
Additional fix related to issue #1018. Corrects the usage of TU_ATTR_WEAK for the Keil
compiler for the callback functions:
* tud_descriptor_bos_cb()
* tud_vendor_control_xfer_cb()
* tud_mount_cb()
* tud_umount_cb()
* tud_suspend_cb()
* tud_resume_cb()
Without the fix for the first two functions, the USB device won't enumerate properly, if
the device makes use of a BOS description. For example when using a Microsoft OS 2.0
platform capability descriptor to set a specific Device Interface GUID for WinUSB.
The fix for the other four functions were added, because it's probably just a matter of
time before someone runs into the same problem with those callback functions.
Diffstat (limited to '.github/workflows/codeql-buildscript.sh')
0 files changed, 0 insertions, 0 deletions
