summaryrefslogtreecommitdiff
path: root/utility/rtos_compatibility_layers/posix/px_cond_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility/rtos_compatibility_layers/posix/px_cond_init.c')
-rw-r--r--utility/rtos_compatibility_layers/posix/px_cond_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utility/rtos_compatibility_layers/posix/px_cond_init.c b/utility/rtos_compatibility_layers/posix/px_cond_init.c
index b376132d..27bfd41d 100644
--- a/utility/rtos_compatibility_layers/posix/px_cond_init.c
+++ b/utility/rtos_compatibility_layers/posix/px_cond_init.c
@@ -9,6 +9,7 @@
* SPDX-License-Identifier: MIT
**************************************************************************/
+// Portions of this file were generated with AI assistance.
/**************************************************************************/
/**************************************************************************/
@@ -72,7 +73,7 @@ UINT status;
cond->in_use = TX_TRUE;
/* Get the condition variable's internal semaphore. */
- /* Simply convert the COndition variable control block into a semaphore a cast */
+ /* Simply convert the condition variable control block into a semaphore using casting. */
semaphore_ptr = (&( cond->cond_semaphore ));
/* Now create the internal semaphore for this cond variable */
status = tx_semaphore_create(semaphore_ptr,"csem",0);