remove random delay hack from broadcast, since we now do that for all transmits

This commit is contained in:
geeksville
2020-05-11 16:19:44 -07:00
parent 86ae69d360
commit 9f05ad2927
3 changed files with 6 additions and 54 deletions
+1 -5
View File
@@ -4,7 +4,6 @@
#include "PeriodicTask.h"
#include "Router.h"
/**
* This is a mixin that extends Router with the ability to do Naive Flooding (in the standard mesh protocol sense)
*
@@ -28,10 +27,9 @@
Any entries in recentBroadcasts that are older than X seconds (longer than the
max time a flood can take) will be discarded.
*/
class FloodingRouter : public Router, public PeriodicTask, private PacketHistory
class FloodingRouter : public Router, private PacketHistory
{
private:
/**
* Packets we've received that we need to resend after a short delay
*/
@@ -60,6 +58,4 @@ class FloodingRouter : public Router, public PeriodicTask, private PacketHistory
* Note: this method will free the provided packet
*/
virtual void handleReceived(MeshPacket *p);
virtual void doTask();
};