diff options
Diffstat (limited to 'common/src/tx_semaphore_create.c')
| -rw-r--r-- | common/src/tx_semaphore_create.c | 4 |
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++; |
