issue 879 - changes to Router.cpp

This commit is contained in:
a-f-G-U-C
2021-10-09 13:54:42 +00:00
committed by GitHub
parent ee9c72b8c7
commit 5eb2e6401f
2 changed files with 8 additions and 5 deletions

View File

@@ -122,7 +122,7 @@ class Router : protected concurrency::OSThread
* Note: this packet will never be called for messages sent/generated by this node.
* Note: this method will free the provided packet.
*/
void handleReceived(MeshPacket *p);
void handleReceived(MeshPacket *p, RxSource src = RX_SRC_RADIO);
/** Frees the provided packet, and generates a NAK indicating the speicifed error while sending */
void abortSendAndNak(Routing_Error err, MeshPacket *p);