Skip to content

Commit ead1f80

Browse files
committed
Revert "samples: bluetooth: power profiling disable system off with tfm"
This reverts commit 28c76d2. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 4af2ba7 commit ead1f80

File tree

1 file changed

+2
-2
lines changed
  • samples/bluetooth/peripheral_power_profiling/src

1 file changed

+2
-2
lines changed

samples/bluetooth/peripheral_power_profiling/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ static void reset_reason_print(void)
653653

654654
static void system_off(void)
655655
{
656-
#if !IS_ENABLED(CONFIG_SOC_SERIES_NRF54HX) && !IS_ENABLED(CONFIG_TFM_EXPERIMENTAL)
656+
#if !IS_ENABLED(CONFIG_SOC_SERIES_NRF54HX)
657657
printk("Powering off\n");
658658

659659
/* Clear the reset reason if it didn't do previously. */
@@ -674,7 +674,7 @@ static void system_off(void)
674674
}
675675

676676
sys_poweroff();
677-
#endif /* !IS_ENABLED(CONFIG_SOC_SERIES_NRF54HX) && !IS_ENABLED(CONFIG_TFM_EXPERIMENTAL) */
677+
#endif /* !IS_ENABLED(CONFIG_SOC_SERIES_NRF54HX) */
678678
}
679679

680680
static void system_off_work_handler(struct k_work *work)

0 commit comments

Comments
 (0)