summaryrefslogtreecommitdiff
path: root/common/src/tx_queue_prioritize.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/tx_queue_prioritize.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/tx_queue_prioritize.c')
-rw-r--r--common/src/tx_queue_prioritize.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/common/src/tx_queue_prioritize.c b/common/src/tx_queue_prioritize.c
index 0768aa02..ae80ce79 100644
--- a/common/src/tx_queue_prioritize.c
+++ b/common/src/tx_queue_prioritize.c
@@ -161,28 +161,28 @@ UINT list_changed;
/* Disable interrupts again. */
TX_DISABLE
- /* Determine if any changes to the list have occurred while
+ /* Determine if any changes to the list have occurred while
interrupts were enabled. */
-
+
/* Is the list head the same? */
if (head_ptr != queue_ptr -> tx_queue_suspension_list)
{
-
+
/* The list head has changed, set the list changed flag. */
list_changed = TX_TRUE;
}
else
{
-
+
/* Is the suspended count the same? */
if (suspended_count != queue_ptr -> tx_queue_suspended_count)
{
-
+
/* The list head has changed, set the list changed flag. */
list_changed = TX_TRUE;
}
}
-
+
/* Determine if the list has changed. */
if (list_changed == TX_FALSE)
{
@@ -212,12 +212,12 @@ UINT list_changed;
/* Release preemption. */
_tx_thread_preempt_disable--;
- /* Now determine if the highest priority thread is at the front
+ /* Now determine if the highest priority thread is at the front
of the list. */
if (priority_thread_ptr != head_ptr)
{
- /* No, we need to move the highest priority suspended thread to the
+ /* No, we need to move the highest priority suspended thread to the
front of the list. */
/* First, remove the highest priority thread by updating the