mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* Dispatcher::checkSend() bug: getOutboundCount() should only count non-future packets
This commit is contained in:
parent
a56e9ef62f
commit
e291b57a07
6 changed files with 17 additions and 7 deletions
|
|
@ -78,7 +78,7 @@ public:
|
|||
|
||||
virtual void queueOutbound(Packet* packet, uint8_t priority, uint32_t scheduled_for) = 0;
|
||||
virtual Packet* getNextOutbound(uint32_t now) = 0; // by priority
|
||||
virtual int getOutboundCount() const = 0;
|
||||
virtual int getOutboundCount(uint32_t now) const = 0;
|
||||
virtual int getFreeCount() const = 0;
|
||||
virtual Packet* getOutboundByIdx(int i) = 0;
|
||||
virtual Packet* removeOutboundByIdx(int i) = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue