Don't resend ACK every time you receive the packet

This commit is contained in:
GUVWAF
2022-12-28 14:13:48 +01:00
parent 3b9b33a5ee
commit b4735f4224
6 changed files with 10 additions and 18 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ class Router : protected concurrency::OSThread
* Called immedately on receiption, before any further processing.
* @return true to abandon the packet
*/
virtual bool shouldFilterReceived(MeshPacket *p) { return false; }
virtual bool shouldFilterReceived(const MeshPacket *p) { return false; }
/**
* Every (non duplicate) packet this node receives will be passed through this method. This allows subclasses to