summaryrefslogtreecommitdiff
path: root/common/core/src
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-07-28 07:25:46 +0000
committerYuxin Zhou <[email protected]>2021-07-28 07:25:46 +0000
commit3574b6bc518553adefe70d82db907ae801786d6f (patch)
treeeadc713a8c532d2519bff2b6da93d31c8a98995b /common/core/src
parent756899739082fd013048ae6a39dab556fddc8a11 (diff)
Release 6.1.8v6.1.8_rel
Diffstat (limited to 'common/core/src')
-rw-r--r--common/core/src/ux_hcd_sim_host_port_reset.c7
-rw-r--r--common/core/src/ux_host_stack_uninitialize.c7
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);