summaryrefslogtreecommitdiff
path: root/common/usbx_host_classes/src
diff options
context:
space:
mode:
Diffstat (limited to 'common/usbx_host_classes/src')
-rw-r--r--common/usbx_host_classes/src/ux_host_class_storage_deactivate.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/usbx_host_classes/src/ux_host_class_storage_deactivate.c b/common/usbx_host_classes/src/ux_host_class_storage_deactivate.c
index 4d13624..d28c950 100644
--- a/common/usbx_host_classes/src/ux_host_class_storage_deactivate.c
+++ b/common/usbx_host_classes/src/ux_host_class_storage_deactivate.c
@@ -35,7 +35,7 @@
/* FUNCTION RELEASE */
/* */
/* _ux_host_class_storage_deactivate PORTABLE C */
-/* 6.1 */
+/* 6.1.6 */
/* AUTHOR */
/* */
/* Chaoqiong Xiao, Microsoft Corporation */
@@ -82,6 +82,10 @@
/* class specific structured */
/* data, */
/* resulting in version 6.1 */
+/* 04-02-2021 Chaoqiong Xiao Modified comment(s), */
+/* fixed compile issues with */
+/* some macro options, */
+/* resulting in version 6.1.6 */
/* */
/**************************************************************************/
UINT _ux_host_class_storage_deactivate(UX_HOST_CLASS_COMMAND *command)
@@ -133,9 +137,6 @@ VOID *memory;
if (storage -> ux_host_class_storage_interrupt_endpoint != UX_NULL)
{
- /* Then interrupt endpoint. */
- transfer_request = &storage -> ux_host_class_storage_interrupt_endpoint -> ux_endpoint_transfer_request;
-
/* Abort the data transfer on the interrupt endpoint. */
_ux_host_stack_endpoint_transfer_abort(storage -> ux_host_class_storage_interrupt_endpoint);