* Dispatcher::checkSend() bug: getOutboundCount() should only count non-future packets

This commit is contained in:
Scott Powell committed 2025-05-14 16:50:11 +10:00
1 parent 423049b4e0
commit 71b93bfe5a
6 files changed
+17 -7

No files matched your search

+1 -1
View File
@@ -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;