Only throttle ALLCALLs

This commit is contained in:
Jordan Sherer 2018-07-15 21:00:12 -04:00
parent 9419383ab0
commit a2c85256e8

View File

@ -8130,12 +8130,12 @@ void MainWindow::displayActivity(bool force){
// use the last frequency
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"){
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;
}