summaryrefslogtreecommitdiff
path: root/core/cortex-m/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m/task.c')
-rw-r--r--core/cortex-m/task.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/cortex-m/task.c b/core/cortex-m/task.c
index ce6c8c9615..03e069df8c 100644
--- a/core/cortex-m/task.c
+++ b/core/cortex-m/task.c
@@ -304,9 +304,7 @@ void svc_handler(int desched, task_id_t resched)
if (*current->stack != STACK_UNUSED_VALUE) {
panic_printf("\n\nStack overflow in %s task!\n",
task_names[current - tasks]);
-#ifdef CONFIG_SOFTWARE_PANIC
software_panic(PANIC_SW_STACK_OVERFLOW, current - tasks);
-#endif
}
#endif