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-25 19:51:38 -06:00
committed by GitHub
co-authored by GitHub Ben Meadors
parent c9ae90f03c
commit 408c555f0f
3 changed files with 20 additions and 2 deletions
+1 -1
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);
/**