begin moving position stuff into plugin

This commit is contained in:
Kevin Hester
2020-11-28 13:51:51 +08:00
parent 5138aff4b2
commit 7737123d0f
8 changed files with 29 additions and 14 deletions

View File

@@ -297,7 +297,6 @@ void MeshService::sendOurPosition(NodeNum dest, bool wantReplies)
int MeshService::onGPSChanged(const meshtastic::GPSStatus *unused)
{
// Update our local node info with our position (even if we don't decide to update anyone else)
MeshPacket *p = router->allocForSending();
p->decoded.which_payload = SubPacket_position_tag;