This commit is contained in:
Jonathan Bennett
2026-05-06 11:53:34 -05:00
parent 7cc404890f
commit 6238c32d77
4 changed files with 16 additions and 10 deletions
+3
View File
@@ -497,6 +497,9 @@ void cpuDeepSleep(uint32_t msecToWake)
;
#endif
#ifdef POWER_ON_OFF
digitalWrite(POWER_ON_OFF, HIGH);
#endif
auto ok = sd_power_system_off();
if (ok != NRF_SUCCESS) {
LOG_ERROR("FIXME: Ignoring soft device (EasyDMA pending?) and forcing system-off!");