clean up ack packets

This commit is contained in:
Kevin Hester
2021-02-26 20:36:22 +08:00
parent 0307e4161e
commit 989f52494d
8 changed files with 23 additions and 32 deletions

View File

@@ -33,6 +33,7 @@ class SinglePortPlugin : public MeshPlugin
// Update our local node info with our position (even if we don't decide to update anyone else)
MeshPacket *p = router->allocForSending();
p->decoded.portnum = ourPortNum;
p->which_payloadVariant = MeshPacket_decoded_tag;
return p;
}