Don't attempt to save NodeDB on low-batt shutdown to prevent FS corruption (#5312)

This commit is contained in:
Ben Meadors
2024-11-12 06:17:26 -06:00
committed by GitHub
parent ff33a27789
commit a84324c4fa
9 changed files with 24 additions and 16 deletions

View File

@@ -111,7 +111,7 @@ int32_t PowerStressModule::runOnce()
setBluetoothEnable(true);
break;
case meshtastic_PowerStressMessage_Opcode_CPU_DEEPSLEEP:
doDeepSleep(sleep_msec, true);
doDeepSleep(sleep_msec, true, true);
break;
case meshtastic_PowerStressMessage_Opcode_CPU_FULLON: {
uint32_t start_msec = millis();