summaryrefslogtreecommitdiff
path: root/common/src/txe_thread_priority_change.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_priority_change.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/txe_thread_priority_change.c')
-rw-r--r--common/src/txe_thread_priority_change.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/txe_thread_priority_change.c b/common/src/txe_thread_priority_change.c
index 5e0bda5c..fcccbc43 100644
--- a/common/src/txe_thread_priority_change.c
+++ b/common/src/txe_thread_priority_change.c
@@ -88,7 +88,7 @@ UINT status;
/* Thread pointer is invalid, return appropriate error code. */
status = TX_THREAD_ERROR;
}
-
+
/* Now check for invalid thread ID. */
else if (thread_ptr -> tx_thread_id != TX_THREAD_ID)
{
@@ -108,7 +108,7 @@ UINT status;
/* Determine if the priority is legal. */
else if (new_priority >= ((UINT) TX_MAX_PRIORITIES))
{
-
+
/* Return an error status. */
status = TX_PRIORITY_ERROR;
}