nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
reboot.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef NRF_POWER_REBOOT_H__
8#define NRF_POWER_REBOOT_H__
9
10/* In april 2021 the header reboot.h was moved from power/reboot.h to
11 * sys/reboot.h. This breaks compatibility with any code that includes
12 * <power/reboot.h>, so we create this file (which is located at
13 * power/reboot.h) to give users time to port their code to #include
14 * <sys/reboot.h>.
15 */
16#warning "<power/reboot.h> is deprecated, use <sys/reboot.h> instead"
17
18#include <zephyr/sys/reboot.h>
19
20#endif