mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-03 22:55:57 +00:00
* new packet score function
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user