File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ static inline void disable_all_wdts(void)
221221 wdt_hal_write_protect_enable (& wdt0_context );
222222
223223#if SOC_TIMER_GROUPS >= 2
224- //Interupt WDT is the Main Watchdog Timer of Timer Group 1
224+ //Interrupt WDT is the Main Watchdog Timer of Timer Group 1
225225 wdt_hal_write_protect_disable (& wdt1_context );
226226 wdt_hal_disable (& wdt1_context );
227227 wdt_hal_write_protect_enable (& wdt1_context );
@@ -299,7 +299,7 @@ void esp_panic_handler(panic_info_t *info)
299299 char * panic_reason_str = NULL ;
300300 if (info -> pseudo_excause ) {
301301 panic_reason_str = (char * )info -> reason ;
302- } else if (g_panic_abort && strlen ( g_panic_abort_details ) ) {
302+ } else if (g_panic_abort ) {
303303 panic_reason_str = g_panic_abort_details ;
304304 }
305305 if (panic_reason_str ) {
You can’t perform that action at this time.
0 commit comments