feat(freertos): When watch dog triggle, not check it is ISR

This commit is contained in:
Dong Heng
2018-10-23 20:29:35 +08:00
parent 8e4f938ae6
commit 8c48a58bef

View File

@ -160,7 +160,7 @@ static void panic_info(void *frame, int wdt)
panic_stack(&_chip_nmi_stk, &LoadStoreErrorHandlerStack);
} else {
if (xPortInIsrContext()) {
if (xPortInIsrContext() && !wdt) {
extern StackType_t _chip_interrupt_stk, _chip_interrupt_tmp;
panic_str("Core 0 was running in ISR context:\r\n\r\n");