Fixed isFreqOffsetFree when responding to directed query
This commit is contained in:
parent
d3b593c953
commit
94d7b94f56
@ -6128,6 +6128,11 @@ bool MainWindow::isFreqOffsetFree(int f, int bw){
|
||||
return true;
|
||||
}
|
||||
|
||||
// if this frequency is in our directed cache, it's always "free"
|
||||
if(m_rxDirectedCache.contains(f/10*10)){
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach(int offset, m_bandActivity.keys()){
|
||||
auto d = m_bandActivity[offset];
|
||||
if(d.isEmpty()){
|
||||
|
Loading…
Reference in New Issue
Block a user