summaryrefslogtreecommitdiff
path: root/test/smp/regression/threadx_event_flag_information_test.c
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-10-02 10:42:44 -0400
committerGitHub <[email protected]>2026-10-02 10:42:44 -0400
commit93387b0a60382a29579bbad5045c68328e3751df (patch)
tree42be790d602cb76f55090e5a7c418df7ea2b3428 /test/smp/regression/threadx_event_flag_information_test.c
parent44d7c95c582d415c4ad84527180b29c93c3bf664 (diff)
parent28281cd5647d4671236ca08d19bd18ed15b2265a (diff)
Merge pull request #783 from eclipse-threadx/devv6.5.2.202603_rel
Merged changes ahead of the v6.5.2.202603 release
Diffstat (limited to 'test/smp/regression/threadx_event_flag_information_test.c')
-rw-r--r--test/smp/regression/threadx_event_flag_information_test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/smp/regression/threadx_event_flag_information_test.c b/test/smp/regression/threadx_event_flag_information_test.c
index 45e547f9..1c7cfd2d 100644
--- a/test/smp/regression/threadx_event_flag_information_test.c
+++ b/test/smp/regression/threadx_event_flag_information_test.c
@@ -9,6 +9,8 @@
/* SPDX-License-Identifier: MIT */
/***************************************************************************/
+/* Portions of this file were generated with AI assistance. */
+
/* This test is designed to test the event flag group information gathering services. */
#include <stdio.h>
@@ -134,7 +136,7 @@ static void thread_0_entry(ULONG thread_input)
UINT status;
ULONG actual_events;
-CHAR *name;
+TX_NAME_CONST CHAR *name;
ULONG current_flags;
TX_THREAD *first_suspended;
ULONG suspended_count;
@@ -356,7 +358,7 @@ ULONG timeouts;
status += tx_event_flags_info_get(&group_0, &name, &current_flags, &first_suspended, &suspended_count, &next_group);
/* Check the status. */
- if ((status != TX_SUCCESS) || (current_flags != group_0.tx_event_flags_group_current) || (first_suspended != TX_NULL) || (suspended_count != 0) || (next_group != &group_1))
+ if ((status != TX_SUCCESS) || (name != group_0.tx_event_flags_group_name) || (current_flags != group_0.tx_event_flags_group_current) || (first_suspended != TX_NULL) || (suspended_count != 0) || (next_group != &group_1))
{
/* Event flag error. */