Abandon std::sort in NodeDB, and associated fixes (#7175)

This commit is contained in:
Jonathan Bennett
2025-06-30 10:13:45 -05:00
committed by GitHub
parent 742101f900
commit d41bb70b97
3 changed files with 71 additions and 35 deletions

View File

@@ -208,9 +208,6 @@ class NodeDB
their denial?)
*/
/// pick a provisional nodenum we hope no one is using
void pickNewNodeNum();
// get channel channel index we heard a nodeNum on, defaults to 0 if not found
uint8_t getMeshNodeChannel(NodeNum n);
@@ -286,6 +283,9 @@ class NodeDB
/// Find a node in our DB, create an empty NodeInfoLite if missing
meshtastic_NodeInfoLite *getOrCreateMeshNode(NodeNum n);
/// pick a provisional nodenum we hope no one is using
void pickNewNodeNum();
/// Notify observers of changes to the DB
void notifyObservers(bool forceUpdate = false)
{