We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4a4ae commit 2a1acfdCopy full SHA for 2a1acfd
common/usbx_device_classes/src/ux_device_class_hid_deactivate.c
@@ -86,6 +86,10 @@ UX_SLAVE_CLASS *class_ptr;
86
/* Terminate the transactions pending on the endpoints. */
87
_ux_device_stack_transfer_all_request_abort(hid -> ux_device_class_hid_interrupt_endpoint, UX_TRANSFER_BUS_RESET);
88
89
+#if defined(UX_DEVICE_CLASS_HID_INTERRUPT_OUT_SUPPORT)
90
+ _ux_device_stack_transfer_all_request_abort(hid -> ux_device_class_hid_read_endpoint, UX_TRANSFER_BUS_RESET);
91
+#endif
92
+
93
/* If there is a deactivate function call it. */
94
if (hid -> ux_slave_class_hid_instance_deactivate != UX_NULL)
95
{
0 commit comments