summaryrefslogtreecommitdiff
path: root/common/src/tx_semaphore_create.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_semaphore_create.c
parent215df45d4b59d4ce8606a88f566d1d426e64a84c (diff)
Release 6.1.9
Diffstat (limited to 'common/src/tx_semaphore_create.c')
-rw-r--r--common/src/tx_semaphore_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/src/tx_semaphore_create.c b/common/src/tx_semaphore_create.c
index 028dcab0..31527d3a 100644
--- a/common/src/tx_semaphore_create.c
+++ b/common/src/tx_semaphore_create.c
@@ -87,7 +87,7 @@ TX_SEMAPHORE *previous_semaphore;
/* Setup the basic semaphore fields. */
semaphore_ptr -> tx_semaphore_name = name_ptr;
semaphore_ptr -> tx_semaphore_count = initial_count;
-
+
/* Disable interrupts to place the semaphore on the created list. */
TX_DISABLE
@@ -119,7 +119,7 @@ TX_SEMAPHORE *previous_semaphore;
semaphore_ptr -> tx_semaphore_created_previous = previous_semaphore;
semaphore_ptr -> tx_semaphore_created_next = next_semaphore;
}
-
+
/* Increment the created count. */
_tx_semaphore_created_count++;