mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-08 21:51:46 +00:00
try removing the /prefs dir
This commit is contained in:
parent
d57ac39b02
commit
e6731e28c1
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user