Merge pull request #1302 from mkinney/nrf_factory_reset_for_13

remove /prefs for nrf factory reset
This commit is contained in:
mkinney
2022-03-17 12:47:10 -07:00
committed by GitHub
+2
View File
@@ -95,6 +95,8 @@ bool NodeDB::resetRadioConfig()
nvs_flash_erase(); nvs_flash_erase();
#endif #endif
#ifdef NRF52_SERIES #ifdef NRF52_SERIES
FSCom.rmdir_r("/prefs");
Bluefruit.begin(); Bluefruit.begin();
DEBUG_MSG("Clearing bluetooth bonds!\n"); DEBUG_MSG("Clearing bluetooth bonds!\n");