summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common_smp/inc/tx_thread.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common_smp/inc/tx_thread.h b/common_smp/inc/tx_thread.h
index 7dc7801b..b92ce50e 100644
--- a/common_smp/inc/tx_thread.h
+++ b/common_smp/inc/tx_thread.h
@@ -82,7 +82,7 @@
_tx_thread_stack_error_handler((thread_ptr)); \
TX_DISABLE \
} \
- if (*(((ULONG *) (thread_ptr) -> tx_thread_stack_highest_ptr) - 1) != TX_STACK_FILL) \
+ else if (*(((ULONG *) (thread_ptr) -> tx_thread_stack_highest_ptr) - 1) != TX_STACK_FILL) \
{ \
TX_RESTORE \
_tx_thread_stack_analyze((thread_ptr)); \