Sign in
pigweed
/
third_party
/
github
/
zephyrproject-rtos
/
zephyr
/
98d0a2bb34e3b6c4c094e5ffb7ccc7bea7395152
/
.
/
lib
/
os
/
poweroff.c
blob: f4e90e477caa8958e44be87265bcf80efede1ea5 [
file
] [
log
] [
blame
]
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
* SPDX-License-Identifier: Apache-2.0
*/
#include
<zephyr/irq.h>
#include
<zephyr/sys/poweroff.h>
void
sys_poweroff
(
void
)
{
(
void
)
irq_lock
();
z_sys_poweroff
();
}