Fixed isFreqOffsetFree when responding to directed query
This commit is contained in:
@@ -6128,6 +6128,11 @@ bool MainWindow::isFreqOffsetFree(int f, int bw){
|
|||||||
return true;
|
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()){
|
foreach(int offset, m_bandActivity.keys()){
|
||||||
auto d = m_bandActivity[offset];
|
auto d = m_bandActivity[offset];
|
||||||
if(d.isEmpty()){
|
if(d.isEmpty()){
|
||||||
|
|||||||
Reference in New Issue
Block a user