sforkowany z mirror/meshtastic-firmware
Factory reset should include modules and channels (#1828)
rodzic
995885962d
commit
97968213ff
|
@ -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
|
||||||
|
|
Ładowanie…
Reference in New Issue