Skip to content

Commit 254b5bf

Browse files
committed
Do not analyze when stack overflow has occured
1 parent 12dac1d commit 254b5bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

common/inc/tx_thread.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@
239239
_tx_thread_stack_error_handler((thread_ptr)); \
240240
TX_DISABLE \
241241
} \
242-
if (*(((ULONG *) (thread_ptr) -> tx_thread_stack_highest_ptr) - 1) != TX_STACK_FILL) \
242+
else if (*(((ULONG *) (thread_ptr) -> tx_thread_stack_highest_ptr) - 1) != TX_STACK_FILL) \
243243
{ \
244244
TX_RESTORE \
245245
_tx_thread_stack_analyze((thread_ptr)); \

0 commit comments

Comments
 (0)