Skip to content

Commit

Permalink
[nrf noup] Power nRF54H20 workaround.
Browse files Browse the repository at this point in the history
Provided a workaround for power reason for nrf54h20
since it is not available yet.
  • Loading branch information
ArekBalysNordic committed Jun 4, 2024
1 parent 0ae05f2 commit 5a9156e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/nrfconnect/Reboot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@

#include <zephyr/sys/reboot.h>

#ifndef CONFIG_ARCH_POSIX
#if !(defined(CONFIG_ARCH_POSIX) || defined(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP))
#include <hal/nrf_power.h>
#endif

namespace chip {
namespace DeviceLayer {

#ifdef CONFIG_ARCH_POSIX
#if defined(CONFIG_ARCH_POSIX) || defined(CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP)

void Reboot(SoftwareRebootReason reason)
{
Expand Down

0 comments on commit 5a9156e

Please sign in to comment.