File tree Expand file tree Collapse file tree 2 files changed +0
-22
lines changed
bluetooth/peripheral_power_profiling/src Expand file tree Collapse file tree 2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 2727#include <nfc/ndef/le_oob_rec.h>
2828
2929#include <helpers/nrfx_reset_reason.h>
30- #ifdef CONFIG_SOC_NRF54L15_CPUAPP
31- #include <hal/nrf_memconf.h>
32- #endif
3330
3431#include "pwr_service.h"
3532
@@ -682,14 +679,6 @@ static void system_off(void)
682679 }
683680 }
684681
685- #ifdef CONFIG_SOC_NRF54L15_CPUAPP
686- /* Disable RAM retention in System OFF as it is not utilized by this sample. */
687- uint32_t ram_sections = 8 ;
688-
689- nrf_memconf_ramblock_ret_mask_enable_set (NRF_MEMCONF , 0 , BIT_MASK (ram_sections ), false);
690- nrf_memconf_ramblock_ret2_mask_enable_set (NRF_MEMCONF , 0 , BIT_MASK (ram_sections ), false);
691- #endif
692-
693682 sys_poweroff ();
694683#endif /* !IS_ENABLED(CONFIG_SOC_SERIES_NRF54HX) */
695684}
Original file line number Diff line number Diff line change 2020#include <nfc/ndef/text_rec.h>
2121
2222#include <dk_buttons_and_leds.h>
23- #ifdef CONFIG_SOC_NRF54L15_CPUAPP
24- #include <hal/nrf_memconf.h>
25- #endif
2623
2724#define SYSTEM_OFF_DELAY_S 3
2825
@@ -150,14 +147,6 @@ static void system_off(struct k_work *work)
150147 }
151148 }
152149
153- #ifdef CONFIG_SOC_NRF54L15_CPUAPP
154- /* Disable RAM retention in System OFF as it is not utilized by this sample. */
155- uint32_t ram_sections = 8 ;
156-
157- nrf_memconf_ramblock_ret_mask_enable_set (NRF_MEMCONF , 0 , BIT_MASK (ram_sections ), false);
158- nrf_memconf_ramblock_ret2_mask_enable_set (NRF_MEMCONF , 0 , BIT_MASK (ram_sections ), false);
159- #endif
160-
161150 sys_poweroff ();
162151}
163152
You can’t perform that action at this time.
0 commit comments