mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-18 02:52:05 +00:00
fix serious bug! don't send NO-RESPONSE NAKs for messages sent by local node
This commit is contained in:
parent
4c1b7d4840
commit
6dc4471bec
@ -149,7 +149,9 @@ void MeshPlugin::callPlugins(const MeshPacket &mp)
|
|||||||
printPacket("Sending response", currentReply);
|
printPacket("Sending response", currentReply);
|
||||||
service.sendToMesh(currentReply);
|
service.sendToMesh(currentReply);
|
||||||
currentReply = NULL;
|
currentReply = NULL;
|
||||||
} else {
|
} else if(mp.from != ourNodeNum) {
|
||||||
|
// Note: if the message started with the local node we don't want to send a no response reply
|
||||||
|
|
||||||
// No one wanted to reply to this requst, tell the requster that happened
|
// No one wanted to reply to this requst, tell the requster that happened
|
||||||
DEBUG_MSG("No one responded, send a nak\n");
|
DEBUG_MSG("No one responded, send a nak\n");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user