Init default intervals (#1688)

* Init default intervals

* Spacing

* move isrouter check

* Line break

* Oops
This commit is contained in:
Ben Meadors
2022-09-10 12:35:36 -05:00
committed by GitHub
parent 0167304300
commit 7f18c0fb77
4 changed files with 37 additions and 1 deletions

View File

@@ -115,6 +115,8 @@ class NodeDB
/// Return the number of nodes we've heard from recently (within the last 2 hrs?)
size_t getNumOnlineNodes();
void initConfigIntervals(), initModuleConfigIntervals();
private:
/// Find a node in our DB, create an empty NodeInfo if missing
NodeInfo *getOrCreateNode(NodeNum n);