mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-01 17:42:49 +00:00
After #12732, 6904501173
asserts call k_panic.
Before this, the POSIX arch had its own hack in the
__ASSERT_POST implementation to terminate the process instead
of spining forever.
But the POSIX arch does implement k_panic properly, so there
is no need anymore for this hack.
=> Remove the special treatment for POSIX ARCH
Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
14 lines
191 B
C
14 lines
191 B
C
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <misc/__assert.h>
|
|
#include <zephyr.h>
|
|
|
|
void assert_post_action(void)
|
|
{
|
|
k_panic();
|
|
}
|