discriminate local/remote node position updates (#889)

This commit is contained in:
a-f-G-U-C
2021-10-23 01:58:56 +00:00
committed by GitHub
parent 992bbe76d7
commit d0fb363422
3 changed files with 3 additions and 3 deletions

View File

@@ -447,7 +447,7 @@ size_t NodeDB::getNumOnlineNodes()
/** Update position info for this node based on received position data
*/
void NodeDB::updatePosition(uint32_t nodeId, const Position &p)
void NodeDB::updatePosition(uint32_t nodeId, const Position &p, RxSource src)
{
NodeInfo *info = getOrCreateNode(nodeId);