Skip to content

Commit a17fd83

Browse files
authored
Merge pull request #464 from gzzi/avoid-hang-check-stack
Do not analyze when stack overflow has occured.
2 parents d22057e + 254b5bf commit a17fd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)