mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-03 03:09:59 +00:00
address tool-cppcheck error
This commit is contained in:
parent
c1c8fea21e
commit
2a2448e367
@ -75,8 +75,6 @@ void FloodingRouter::sniffReceived(const MeshPacket *p, const Routing *c)
|
|||||||
rebroadcastPacket = false;
|
rebroadcastPacket = false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rebroadcastPacket = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((p->to == NODENUM_BROADCAST) && (p->hop_limit > 0) && (getFrom(p) != getNodeNum() && rebroadcastPacket)) {
|
if ((p->to == NODENUM_BROADCAST) && (p->hop_limit > 0) && (getFrom(p) != getNodeNum() && rebroadcastPacket)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user