Expose front() function in MeshPacketQueue

This commit is contained in:
GUVWAF
2022-04-20 19:58:52 +02:00
parent 9097475149
commit 616c7d7b0e
2 changed files with 12 additions and 0 deletions

View File

@@ -28,6 +28,8 @@ class MeshPacketQueue
MeshPacket *dequeue();
MeshPacket *getFront();
/** Attempt to find and remove a packet from this queue. Returns the packet which was removed from the queue */
MeshPacket *remove(NodeNum from, PacketId id);
};