Add airtime of current received/transmitted packet to nextTx time of all pending retransmissions (#2309)

To avoid unnecessary retransmissions when sending them too early

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
GUVWAF
2023-02-26 02:51:38 +01:00
committed by GitHub
parent c9ae90f03c
commit 408c555f0f
3 changed files with 20 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ class RadioInterface
*
* @return num msecs for the packet
*/
uint32_t getPacketTime(meshtastic_MeshPacket *p);
uint32_t getPacketTime(const meshtastic_MeshPacket *p);
uint32_t getPacketTime(uint32_t totalPacketLen);
/**