mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
esp_system: suppress reason display on software abort panic
This commit is contained in:
parent
890510aecd
commit
7cc8cb68bd
@ -157,7 +157,7 @@ void esp_panic_handler(panic_info_t *info)
|
||||
if (g_panic_abort) {
|
||||
info->description = NULL;
|
||||
info->details = s_panic_abort_details ? print_abort_details : NULL;
|
||||
info->reason = "SoftwareAbort";
|
||||
info->reason = NULL;
|
||||
info->exception = PANIC_EXCEPTION_ABORT;
|
||||
}
|
||||
|
||||
@ -184,11 +184,13 @@ void esp_panic_handler(panic_info_t *info)
|
||||
* NULL fields in panic_info_t are not printed.
|
||||
*
|
||||
* */
|
||||
panic_print_str("Guru Meditation Error: Core ");
|
||||
panic_print_dec(info->core);
|
||||
panic_print_str(" panic'ed (");
|
||||
panic_print_str(info->reason);
|
||||
panic_print_str("). ");
|
||||
if (info->reason) {
|
||||
panic_print_str("Guru Meditation Error: Core ");
|
||||
panic_print_dec(info->core);
|
||||
panic_print_str(" panic'ed (");
|
||||
panic_print_str(info->reason);
|
||||
panic_print_str("). ");
|
||||
}
|
||||
|
||||
if (info->description) {
|
||||
panic_print_str(info->description);
|
||||
|
Loading…
x
Reference in New Issue
Block a user