diff options
Diffstat (limited to 'core/cortex-m0/watchdog.c')
-rw-r--r-- | core/cortex-m0/watchdog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/cortex-m0/watchdog.c b/core/cortex-m0/watchdog.c index b4d5c086f0..0b5a038168 100644 --- a/core/cortex-m0/watchdog.c +++ b/core/cortex-m0/watchdog.c @@ -34,10 +34,8 @@ void watchdog_trace(uint32_t excep_lr, uint32_t excep_sp) } /* Log PC. If we were in task context, log task id too. */ -#ifdef CONFIG_SOFTWARE_PANIC panic_set_reason(PANIC_SW_WATCHDOG, stack[STACK_IDX_REG_PC], (excep_lr & 0xf) == 1 ? 0xff : task_get_current()); -#endif panic_printf("### WATCHDOG PC=%08x / LR=%08x / pSP=%08x ", stack[STACK_IDX_REG_PC], stack[STACK_IDX_REG_LR], psp); |