add the user as distinct message source

This commit is contained in:
a-f-G-U-C
2021-10-27 13:16:51 +00:00
committed by GitHub
parent e6b4ee8084
commit da9dd62a33
5 changed files with 9 additions and 8 deletions

View File

@@ -75,7 +75,7 @@ class MeshService
/// Send a packet into the mesh - note p must have been allocated from packetPool. We will return it to that pool after
/// sending. This is the ONLY function you should use for sending messages into the mesh, because it also updates the nodedb
/// cache
void sendToMesh(MeshPacket *p);
void sendToMesh(MeshPacket *p, RxSource src = RX_SRC_LOCAL);
/** Attempt to cancel a previously sent packet from this _local_ node. Returns true if a packet was found we could cancel */
bool cancelSending(PacketId id);