Skip to content

Commit 579d8ee

Browse files
committedJun 5, 2024·
[nrf noup] Power nRF54H20 workaround.
Provided a workaround for power reason for nrf54h20 since it is not available yet.
1 parent 10aa26d commit 579d8ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/platform/nrfconnect/Reboot.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121

2222
#include <zephyr/sys/reboot.h>
2323

24-
#ifndef CONFIG_ARCH_POSIX
24+
#if !(defined(CONFIG_ARCH_POSIX) || defined(CONFIG_SOC_SERIES_NRF54HX))
2525
#include <hal/nrf_power.h>
2626
#endif
2727

2828
namespace chip {
2929
namespace DeviceLayer {
3030

31-
#ifdef CONFIG_ARCH_POSIX
31+
#if defined(CONFIG_ARCH_POSIX) || defined(CONFIG_SOC_SERIES_NRF54HX)
3232

3333
void Reboot(SoftwareRebootReason reason)
3434
{

0 commit comments

Comments
 (0)
Please sign in to comment.