* new packet score function

This commit is contained in:
Scott Powell
2025-02-04 15:00:28 +11:00
parent 7da0a5f7ec
commit a93412216a
6 changed files with 28 additions and 21 deletions

View File

@@ -97,8 +97,8 @@ mesh::Packet* StaticPoolPacketManager::removeOutboundByIdx(int i) {
}
void StaticPoolPacketManager::queueInbound(mesh::Packet* packet, uint32_t scheduled_for) {
// TODO
rx_queue.add(packet, 0, scheduled_for);
}
mesh::Packet* StaticPoolPacketManager::getNextInbound(uint32_t now) {
return NULL; // TODO
return rx_queue.get(now);
}