mirror of
https://github.com/meshtastic/firmware.git
synced 2025-09-14 14:31:24 +00:00
Rename startTransmitTimerSNR to startTransmitTimerRebroadcast
This commit is contained in:
parent
83ae72cbb2
commit
7e00054fd7
@ -323,7 +323,7 @@ void RadioLibInterface::setTransmitDelay()
|
||||
} else {
|
||||
// If there is a SNR, start a timer scaled based on that SNR.
|
||||
LOG_DEBUG("rx_snr found. hop_limit:%d rx_snr:%f", p->hop_limit, p->rx_snr);
|
||||
startTransmitTimerSNR(p->rx_snr);
|
||||
startTransmitTimerRebroadcast(p->rx_snr);
|
||||
}
|
||||
}
|
||||
|
||||
@ -336,7 +336,7 @@ void RadioLibInterface::startTransmitTimer(bool withDelay)
|
||||
}
|
||||
}
|
||||
|
||||
void RadioLibInterface::startTransmitTimerSNR(float snr)
|
||||
void RadioLibInterface::startTransmitTimerRebroadcast(float snr)
|
||||
{
|
||||
// If we have work to do and the timer wasn't already scheduled, schedule it now
|
||||
if (!txQueue.empty()) {
|
||||
|
@ -161,7 +161,7 @@ class RadioLibInterface : public RadioInterface, protected concurrency::Notified
|
||||
* timer scaled to SNR of to be flooded packet
|
||||
* @return Timestamp after which the packet may be sent
|
||||
*/
|
||||
void startTransmitTimerSNR(float snr);
|
||||
void startTransmitTimerRebroadcast(float snr);
|
||||
|
||||
void handleTransmitInterrupt();
|
||||
void handleReceiveInterrupt();
|
||||
|
@ -43,7 +43,7 @@ void SimRadio::setTransmitDelay()
|
||||
} else {
|
||||
// If there is a SNR, start a timer scaled based on that SNR.
|
||||
LOG_DEBUG("rx_snr found. hop_limit:%d rx_snr:%f", p->hop_limit, p->rx_snr);
|
||||
startTransmitTimerSNR(p->rx_snr);
|
||||
startTransmitTimerRebroadcast(p->rx_snr);
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,7 +57,7 @@ void SimRadio::startTransmitTimer(bool withDelay)
|
||||
}
|
||||
}
|
||||
|
||||
void SimRadio::startTransmitTimerSNR(float snr)
|
||||
void SimRadio::startTransmitTimerRebroadcast(float snr)
|
||||
{
|
||||
// If we have work to do and the timer wasn't already scheduled, schedule it now
|
||||
if (!txQueue.empty()) {
|
||||
|
@ -64,7 +64,7 @@ class SimRadio : public RadioInterface, protected concurrency::NotifiedWorkerThr
|
||||
void startTransmitTimer(bool withDelay = true);
|
||||
|
||||
/** timer scaled to SNR of to be flooded packet */
|
||||
void startTransmitTimerSNR(float snr);
|
||||
void startTransmitTimerRebroadcast(float snr);
|
||||
|
||||
void handleTransmitInterrupt();
|
||||
void handleReceiveInterrupt();
|
||||
|
Loading…
Reference in New Issue
Block a user