Skip to content

Commit 16bcd30

Browse files
Damian-Nordickkasperczyk-no
authored andcommitted
[nrf noup] Enter QSPI NOR deep sleep mode on nRF52, too
Unblock the code for controlling QSPI NOR power state based on the state of the DFU on the device. Signed-off-by: Damian Krolik <[email protected]>
1 parent 822e172 commit 16bcd30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/nrfconnect/OTAImageProcessorImpl.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void OTAImageProcessorImpl::TriggerFlashAction(FlashHandler::Action action)
211211
// external flash power consumption optimization
212212
void FlashHandler::DoAction(Action aAction)
213213
{
214-
#if CONFIG_PM_DEVICE && CONFIG_NORDIC_QSPI_NOR && !CONFIG_SOC_NRF52840 // nRF52 is optimized per default
214+
#if CONFIG_PM_DEVICE && CONFIG_NORDIC_QSPI_NOR
215215
// utilize the QSPI driver sleep power mode
216216
const auto * qspi_dev = DEVICE_DT_GET(DT_INST(0, nordic_qspi_nor));
217217
if (qspi_dev)

0 commit comments

Comments
 (0)