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

@@ -45,7 +45,7 @@ class Router : protected concurrency::OSThread
*
* NOTE: This method will free the provided packet (even if we return an error code)
*/
ErrorCode sendLocal(MeshPacket *p);
ErrorCode sendLocal(MeshPacket *p, RxSource src = RX_SRC_RADIO);
/** Attempt to cancel a previously sent packet. Returns true if a packet was found we could cancel */
bool cancelSending(NodeNum from, PacketId id);