Only throttle ALLCALLs
This commit is contained in:
parent
9419383ab0
commit
a2c85256e8
@ -8130,12 +8130,12 @@ void MainWindow::displayActivity(bool force){
|
|||||||
// use the last frequency
|
// use the last frequency
|
||||||
f = d.freq;
|
f = d.freq;
|
||||||
|
|
||||||
// if we're responding via allcall, pick a different frequency.
|
// if we're responding via allcall, pick a different frequency and mark it in the cache.
|
||||||
if(d.to == "ALLCALL"){
|
if(d.to == "ALLCALL"){
|
||||||
f = findFreeFreqOffset(qMax(0, f-100), qMin(f+100, 2500), 50);
|
f = findFreeFreqOffset(qMax(0, f-100), qMin(f+100, 2500), 50);
|
||||||
|
m_txAllcallCommandCache.insert(d.from, new QDateTime(QDateTime::currentDateTimeUtc()), 25);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_txAllcallCommandCache.insert(d.from, new QDateTime(QDateTime::currentDateTimeUtc()), 25);
|
|
||||||
processed = true;
|
processed = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user