Factory reset should include modules and channels (#1828)
This commit is contained in:
@@ -130,6 +130,8 @@ bool NodeDB::factoryReset()
|
|||||||
// second, install default state (this will deal with the duplicate mac address issue)
|
// second, install default state (this will deal with the duplicate mac address issue)
|
||||||
installDefaultDeviceState();
|
installDefaultDeviceState();
|
||||||
installDefaultConfig();
|
installDefaultConfig();
|
||||||
|
installDefaultModuleConfig();
|
||||||
|
installDefaultChannels();
|
||||||
// third, write everything to disk
|
// third, write everything to disk
|
||||||
saveToDisk();
|
saveToDisk();
|
||||||
#ifdef ARCH_ESP32
|
#ifdef ARCH_ESP32
|
||||||
|
|||||||
Reference in New Issue
Block a user