mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-23 03:00:56 +00:00
more cppcheck warnings fixes
This commit is contained in:
@@ -41,7 +41,7 @@ class FloodingRouter : public Router, protected PacketHistory
|
||||
* later free() the packet to pool. This routine is not allowed to stall.
|
||||
* If the txmit queue is full it might return an error
|
||||
*/
|
||||
virtual ErrorCode send(MeshPacket *p);
|
||||
virtual ErrorCode send(MeshPacket *p) override;
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -50,10 +50,10 @@ class FloodingRouter : public Router, protected PacketHistory
|
||||
* Called immedately on receiption, before any further processing.
|
||||
* @return true to abandon the packet
|
||||
*/
|
||||
virtual bool shouldFilterReceived(MeshPacket *p);
|
||||
virtual bool shouldFilterReceived(MeshPacket *p) override;
|
||||
|
||||
/**
|
||||
* Look for broadcasts we need to rebroadcast
|
||||
*/
|
||||
virtual void sniffReceived(const MeshPacket *p, const Routing *c);
|
||||
virtual void sniffReceived(const MeshPacket *p, const Routing *c) override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user