Fixed isFreqOffsetFree when responding to directed query

This commit is contained in:
Jordan Sherer 2018-08-11 10:45:39 -04:00
parent d3b593c953
commit 94d7b94f56

View File

@ -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()){