mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* new packet score function
This commit is contained in:
parent
7da0a5f7ec
commit
a93412216a
6 changed files with 28 additions and 21 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue