WIP moving positions to new system

This commit is contained in:
Kevin Hester
2020-12-03 16:48:44 +08:00
parent 7737123d0f
commit d3cb9bdd4a
10 changed files with 191 additions and 67 deletions

View File

@@ -57,6 +57,10 @@ class NodeDB
/// we updateGUI and updateGUIforNode if we think our this change is big enough for a redraw
void updateFrom(const MeshPacket &p);
/** Update position info for this node based on received position data
*/
void updatePosition(uint32_t nodeId, const Position &p);
/// @return our node number
NodeNum getNodeNum() { return myNodeInfo.my_node_num; }