getTxDelayMsecWeighted and startTransmitTimerRebroadcast: extract p->rxSnr

This commit is contained in:
Mike Robbins
2025-09-07 21:46:49 -07:00
parent 5a463373f2
commit 27cdd464d1
6 changed files with 12 additions and 11 deletions

View File

@@ -184,7 +184,7 @@ class RadioInterface
bool shouldRebroadcastEarlyLikeRouter(meshtastic_MeshPacket *p);
/** The delay to use when we want to flood a message. Use a weighted scale based on SNR */
uint32_t getTxDelayMsecWeighted(float snr, meshtastic_MeshPacket *p);
uint32_t getTxDelayMsecWeighted(meshtastic_MeshPacket *p);
/** If the packet is not already in the late rebroadcast window, move it there */
virtual void clampToLateRebroadcastWindow(NodeNum from, PacketId id) { return; }