diff options
Diffstat (limited to 'common/core/src')
| -rw-r--r-- | common/core/src/ux_hcd_sim_host_port_reset.c | 7 | ||||
| -rw-r--r-- | common/core/src/ux_host_stack_uninitialize.c | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/common/core/src/ux_hcd_sim_host_port_reset.c b/common/core/src/ux_hcd_sim_host_port_reset.c index 8be6740..9807797 100644 --- a/common/core/src/ux_hcd_sim_host_port_reset.c +++ b/common/core/src/ux_hcd_sim_host_port_reset.c @@ -36,7 +36,7 @@ /* FUNCTION RELEASE */ /* */ /* _ux_hcd_sim_host_port_reset PORTABLE C */ -/* 6.1 */ +/* 6.1.8 */ /* AUTHOR */ /* */ /* Chaoqiong Xiao, Microsoft Corporation */ @@ -70,6 +70,9 @@ /* 05-19-2020 Chaoqiong Xiao Initial Version 6.0 */ /* 09-30-2020 Chaoqiong Xiao Modified comment(s), */ /* resulting in version 6.1 */ +/* 08-02-2021 Wen Wang Modified comment(s), */ +/* fixed spelling error, */ +/* resulting in version 6.1.8 */ /* */ /**************************************************************************/ UINT _ux_hcd_sim_host_port_reset(UX_HCD_SIM_HOST *hcd_sim_host, ULONG port_index) @@ -86,7 +89,7 @@ UX_SLAVE_DEVICE *device; /* Is this a connection? */ if (device -> ux_slave_device_state == UX_DEVICE_RESET) - /* Complete the device initialization. Note that everytime the device + /* Complete the device initialization. Note that every time the device is disconnected, this must be called again for connection. */ _ux_dcd_sim_slave_initialize_complete(); diff --git a/common/core/src/ux_host_stack_uninitialize.c b/common/core/src/ux_host_stack_uninitialize.c index 770a44a..047482b 100644 --- a/common/core/src/ux_host_stack_uninitialize.c +++ b/common/core/src/ux_host_stack_uninitialize.c @@ -34,7 +34,7 @@ /* FUNCTION RELEASE */ /* */ /* _ux_host_stack_uninitialize PORTABLE C */ -/* 6.1 */ +/* 6.1.8 */ /* AUTHOR */ /* */ /* Chaoqiong Xiao, Microsoft Corporation */ @@ -72,6 +72,9 @@ /* DATE NAME DESCRIPTION */ /* */ /* 09-30-2020 Chaoqiong Xiao Initial Version 6.1 */ +/* 08-02-2021 Xiuwen Cai Modified comment(s), */ +/* fixed compile issue, */ +/* resulting in version 6.1.8 */ /* */ /**************************************************************************/ UINT _ux_host_stack_uninitialize(VOID) @@ -98,7 +101,7 @@ UINT _ux_host_stack_uninitialize(VOID) /* Free HCD thread stack. */ _ux_utility_memory_free(_ux_system_host -> ux_system_host_hcd_thread_stack); -#if UX_OTG_SUPPORT +#if defined(UX_OTG_SUPPORT) /* Delete HNP thread. */ _ux_utility_thread_delete(&_ux_system_host -> ux_system_host_hnp_polling_thread); |
