diff options
| author | Chaoqiong Xiao <[email protected]> | 2023-03-08 08:32:02 +0000 |
|---|---|---|
| committer | Chaoqiong Xiao <[email protected]> | 2023-03-08 08:32:02 +0000 |
| commit | 2d357c5912709485aac36a3bf3800cf282477d34 (patch) | |
| tree | 70e5abeff5343d3ff88577e6bfca3f0bac11ce9e /common/core/src | |
| parent | 813361a875870d3c3c4ae7b830a54e0748e889e1 (diff) | |
Release 6.2.1 on 08 Mar 2023. Expand to see details.v6.2.1_rel
e180182e Update owners
a6785db8 Update for release.
bc77918b Improve host audio sampling set and check (fixed a memory issue).
97d66e5d Add optimization options to ux_user.h
eea2c732 USBX device printer error checking support.
1760cc8c USBX device audio error checking support
a39f2f26 Fixed a macro name issue in device audio 1.0
83278dd8 Supported multiple report IDs in host HID.
c548fe33 Fixed host CDC-ACM capability get.
b64f8cdb Fix vendor request handling.
Diffstat (limited to 'common/core/src')
| -rw-r--r-- | common/core/src/ux_device_stack_control_request_process.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/common/core/src/ux_device_stack_control_request_process.c b/common/core/src/ux_device_stack_control_request_process.c index 82729c2..91e1ca0 100644 --- a/common/core/src/ux_device_stack_control_request_process.c +++ b/common/core/src/ux_device_stack_control_request_process.c @@ -33,7 +33,7 @@ /* FUNCTION RELEASE */ /* */ /* _ux_device_stack_control_request_process PORTABLE C */ -/* 6.1.12 */ +/* 6.2.1 */ /* AUTHOR */ /* */ /* Chaoqiong Xiao, Microsoft Corporation */ @@ -91,6 +91,9 @@ /* fixed parameter/variable */ /* names conflict C++ keyword, */ /* resulting in version 6.1.12 */ +/* 03-08-2023 Chaoqiong Xiao Modified comment(s), */ +/* fixed vendor request issue, */ +/* resulting in version 6.2.1 */ /* */ /**************************************************************************/ UINT _ux_device_stack_control_request_process(UX_SLAVE_TRANSFER *transfer_request) @@ -144,7 +147,8 @@ ULONG application_data_length; { /* Check the request demanded and compare it to the application registered one. */ - if (request == _ux_system_slave -> ux_system_slave_device_vendor_request) + if (_ux_system_slave -> ux_system_slave_device_vendor_request_function != UX_NULL && + request == _ux_system_slave -> ux_system_slave_device_vendor_request) { /* This is a Microsoft extended function. It happens before the device is configured. |
