remove /prefs for nrf factory reset

This commit is contained in:
Mike Kinney 2022-03-17 19:10:58 +00:00
parent 5b8ff56731
commit f2a4308497

View File

@ -95,6 +95,8 @@ bool NodeDB::resetRadioConfig()
nvs_flash_erase();
#endif
#ifdef NRF52_SERIES
FS.rmdir_r("/prefs");
Bluefruit.begin();
DEBUG_MSG("Clearing bluetooth bonds!\n");