diff --git a/src/mesh/NodeDB.cpp b/src/mesh/NodeDB.cpp index 42e03bd3b..5e4ce08b9 100644 --- a/src/mesh/NodeDB.cpp +++ b/src/mesh/NodeDB.cpp @@ -400,10 +400,8 @@ bool isBroadcast(uint32_t dest) return dest == NODENUM_BROADCAST || dest == NODENUM_BROADCAST_NO_LORA; } -void NodeDB::resetRadioConfig(bool is_fresh_install = false) +void NodeDB::resetRadioConfig(bool is_fresh_install) { - bool didFactoryReset = false; - if (is_fresh_install) { radioGeneration++; }