mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 19:20:41 +00:00
try removing the /prefs dir
This commit is contained in:
@@ -97,12 +97,7 @@ bool NodeDB::resetRadioConfig()
|
||||
nvs_flash_erase();
|
||||
#endif
|
||||
#ifdef NRF52_SERIES
|
||||
|
||||
installDefaultDeviceState();
|
||||
installDefaultRadioConfig();
|
||||
installDefaultChannels();
|
||||
saveToDisk();
|
||||
saveChannelsToDisk();
|
||||
FS.rmdir_r("/prefs");
|
||||
|
||||
Bluefruit.begin();
|
||||
|
||||
@@ -113,7 +108,6 @@ bool NodeDB::resetRadioConfig()
|
||||
Bluefruit.Periph.clearBonds();
|
||||
Bluefruit.Central.clearBonds();
|
||||
|
||||
|
||||
#endif
|
||||
didFactoryReset = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user