summaryrefslogtreecommitdiff
path: root/common_smp/src/tx_timer_activate.c
diff options
context:
space:
mode:
authorYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
committerYuxin Zhou <[email protected]>2021-10-14 00:51:26 +0000
commit1af8404c54f9c8d3caa2ac3523c2a5f014aecb1c (patch)
tree93e4f4d64ec8c21c01b77f19b8e7326e85227e3d /common_smp/src/tx_timer_activate.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common_smp/src/tx_timer_activate.c')
-rw-r--r--common_smp/src/tx_timer_activate.c64
1 files changed, 33 insertions, 31 deletions
diff --git a/common_smp/src/tx_timer_activate.c b/common_smp/src/tx_timer_activate.c
index 2c97cbbb..8a9ef71c 100644
--- a/common_smp/src/tx_timer_activate.c
+++ b/common_smp/src/tx_timer_activate.c
@@ -12,8 +12,8 @@
/**************************************************************************/
/**************************************************************************/
-/** */
-/** ThreadX Component */
+/** */
+/** ThreadX Component */
/** */
/** Timer */
/** */
@@ -32,41 +32,43 @@
#endif
-/**************************************************************************/
-/* */
-/* FUNCTION RELEASE */
-/* */
-/* _tx_timer_activate PORTABLE C */
+/**************************************************************************/
+/* */
+/* FUNCTION RELEASE */
+/* */
+/* _tx_timer_activate PORTABLE C */
/* 6.1 */
/* AUTHOR */
/* */
/* William E. Lamie, Microsoft Corporation */
/* */
/* DESCRIPTION */
-/* */
-/* This function activates the specified application timer. */
-/* */
-/* INPUT */
-/* */
-/* timer_ptr Pointer to timer control block */
-/* */
-/* OUTPUT */
-/* */
-/* TX_SUCCESS Always returns success */
-/* */
-/* CALLS */
-/* */
-/* _tx_timer_system_activate Actual timer activation function */
-/* */
-/* CALLED BY */
-/* */
-/* Application Code */
-/* */
-/* RELEASE HISTORY */
-/* */
+/* */
+/* This function activates the specified application timer. */
+/* */
+/* INPUT */
+/* */
+/* timer_ptr Pointer to timer control block */
+/* */
+/* OUTPUT */
+/* */
+/* TX_SUCCESS Always returns success */
+/* */
+/* CALLS */
+/* */
+/* _tx_timer_system_activate Actual timer activation function */
+/* */
+/* CALLED BY */
+/* */
+/* Application Code */
+/* */
+/* RELEASE HISTORY */
+/* */
/* DATE NAME DESCRIPTION */
/* */
-/* 09-30-2020 William E. Lamie Initial Version 6.1 */
+/* 05-19-2020 William E. Lamie Initial Version 6.0 */
+/* 09-30-2020 Yuxin Zhou Modified comment(s), */
+/* resulting in version 6.1 */
/* */
/**************************************************************************/
UINT _tx_timer_activate(TX_TIMER *timer_ptr)
@@ -81,7 +83,7 @@ UINT status;
TX_DISABLE
#ifdef TX_ENABLE_EVENT_TRACE
-
+
/* If trace is enabled, insert this event into the trace buffer. */
TX_TRACE_IN_LINE_INSERT(TX_TRACE_TIMER_ACTIVATE, timer_ptr, 0, 0, 0, TX_TRACE_TIMER_EVENTS)
#endif
@@ -92,7 +94,7 @@ UINT status;
TX_EL_TIMER_ACTIVATE_INSERT
#endif
- /* Check for an already active timer. */
+ /* Check for an already active timer. */
if (timer_ptr -> tx_timer_internal.tx_timer_internal_list_head != TX_NULL)
{