mirror of https://github.com/thesofproject/sof.git
zephyr: wrapper: halt the system in fatal error handler
Follow the k_sys_fatal_error_handler implementation in fatal.c in zephyr framework. Without this halt, our k_sys_fatal_error_handler will be called copules time and result to many useless IPC messages to host. Signed-off-by: Rander Wang <rander.wang@intel.com>
This commit is contained in:
parent
869666061b
commit
2c757064b1
|
@ -336,4 +336,5 @@ void k_sys_fatal_error_handler(unsigned int reason,
|
|||
ipc_send_panic_notification();
|
||||
|
||||
LOG_ERR("Halting system");
|
||||
k_fatal_halt(reason);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue