Skip to content

Commit 95c2c32

Browse files
authored
Merge pull request #223 from ayedm1/use_ux_prefix
Use the UX prefix instead of TX to avoid a compilation issue in standalone mode
2 parents 99d7cfb + 04d4311 commit 95c2c32

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

common/core/src/ux_utility_debug_log.c

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
/* */
6363
/* _ux_utility_string_length_check Check C string and return */
6464
/* its length if null-terminated */
65-
/* _tx_time_get Return system clock time */
65+
/* _ux_utility_time_get Return system clock time */
6666
/* */
6767
/* CALLED BY */
6868
/* */
@@ -79,6 +79,10 @@
7979
/* refer to TX symbols instead */
8080
/* of using them directly, */
8181
/* resulting in version 6.1 */
82+
/* 30-11-2025 Mohamed Ayed Modified comment(s), */
83+
/* used UX prefix to refer to */
84+
/* TX symbols instead of using */
85+
/* them directly, */
8286
/* */
8387
/**************************************************************************/
8488
VOID _ux_utility_debug_log(UCHAR *debug_location, UCHAR *debug_message, ULONG debug_code,
@@ -136,8 +140,8 @@ UX_INTERRUPT_SAVE_AREA
136140
_ux_utility_memory_copy(_ux_system -> ux_system_debug_log_head, "At time : ", 10); /* Use case of memcpy is verified. */
137141
_ux_system -> ux_system_debug_log_head += 10;
138142

139-
/* Get the time value from TX. */
140-
current_time = _tx_time_get();
143+
/* Get the time value. */
144+
current_time = _ux_utility_time_get();
141145

142146
/* Reset the value of the length.*/
143147
parameter_length = 0;

0 commit comments

Comments
 (0)