Revert "Merge remote-tracking branch 'origin/dev' into mqtt-bridge-implementation"

This reverts commit 2b63765522, reversing
changes made to 304719e8e0.
This commit is contained in:
agessaman
2026-03-20 15:54:14 -07:00
parent 2b63765522
commit 22eb9b87a3
66 changed files with 119 additions and 860 deletions
-6
View File
@@ -9,8 +9,6 @@ PacketQueue::PacketQueue(int max_entries) {
}
int PacketQueue::countBefore(uint32_t now) const {
if (now == 0xFFFFFFFF) return _num; // sentinel: count all entries regardless of schedule
int n = 0;
for (int j = 0; j < _num; j++) {
if ((int32_t)(_schedule_table[j] - now) > 0) continue; // scheduled for future... ignore for now
@@ -99,10 +97,6 @@ int StaticPoolPacketManager::getOutboundCount(uint32_t now) const {
return send_queue.countBefore(now);
}
int StaticPoolPacketManager::getOutboundTotal() const {
return send_queue.count();
}
int StaticPoolPacketManager::getFreeCount() const {
return unused.count();
}