From 97968213ffc152ef2094854d2b74b8ccf74c3a62 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Thu, 20 Oct 2022 07:51:52 -0500 Subject: [PATCH] Factory reset should include modules and channels (#1828) --- src/mesh/NodeDB.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index 319bb096b..8a7ee6086 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -130,6 +130,8 @@ bool NodeDB::factoryReset() // second, install default state (this will deal with the duplicate mac address issue) installDefaultDeviceState(); installDefaultConfig(); + installDefaultModuleConfig(); + installDefaultChannels(); // third, write everything to disk saveToDisk(); #ifdef ARCH_ESP32