summaryrefslogtreecommitdiff
path: root/common/src/txe_thread_reset.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/src/txe_thread_reset.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/txe_thread_reset.c')
-rw-r--r--common/src/txe_thread_reset.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/src/txe_thread_reset.c b/common/src/txe_thread_reset.c
index 59a1a806..18f962ac 100644
--- a/common/src/txe_thread_reset.c
+++ b/common/src/txe_thread_reset.c
@@ -51,7 +51,7 @@
/* OUTPUT */
/* */
/* TX_THREAD_ERROR Invalid thread pointer */
-/* TX_CALLER_ERROR Invalid caller of function */
+/* TX_CALLER_ERROR Invalid caller of function */
/* status Service return status */
/* */
/* CALLS */
@@ -90,7 +90,7 @@ TX_THREAD *current_thread;
/* Thread pointer is invalid, return appropriate error code. */
status = TX_THREAD_ERROR;
}
-
+
/* Now check for an invalid thread ID. */
else if (thread_ptr -> tx_thread_id != TX_THREAD_ID)
{
@@ -118,12 +118,12 @@ TX_THREAD *current_thread;
/* Check for interrupt or initialization call. */
if (TX_THREAD_GET_SYSTEM_STATE() != ((ULONG) 0))
{
-
+
/* Invalid caller of this function, return appropriate error code. */
status = TX_CALLER_ERROR;
}
}
-
+
/* Determine if everything is okay. */
if (status == TX_SUCCESS)
{