diff options
| author | Guillaume Galeazzi <[email protected]> | 2025-09-01 13:03:58 +0200 |
|---|---|---|
| committer | Guillaume Galeazzi <[email protected]> | 2025-09-01 16:20:02 +0200 |
| commit | 254b5bf3a726a0e8c8264d3d0020143e67b7360e (patch) | |
| tree | 01282e73c955d8b7d11a2087b35bcf7bcb37ebda | |
| parent | 12dac1d67d0dfe1c06f839ee285e190c759865a7 (diff) | |
Do not analyze when stack overflow has occured
| -rw-r--r-- | common/inc/tx_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/inc/tx_thread.h b/common/inc/tx_thread.h index 6500d40d..8729263d 100644 --- a/common/inc/tx_thread.h +++ b/common/inc/tx_thread.h @@ -239,7 +239,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)); \ |
