Add missing restart parameters

This commit is contained in:
lewis 2022-11-26 12:10:10 +08:00
parent 0dff4538f3
commit cdd499f147

View File

@ -481,7 +481,7 @@ bool saveProto(const char *filename, size_t protoSize, size_t objSize, const pb_
if(failedCounter >= 2){ if(failedCounter >= 2){
FSCom.format(); FSCom.format();
//After formatting, the device needs to be restarted //After formatting, the device needs to be restarted
nodeDB.resetRadioConfig(); nodeDB.resetRadioConfig(true);
} }
#endif #endif
} }