mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Added missing method for frequency detection
This commit is contained in:
committed by
Mathew Sutcliffe
parent
a69a021f26
commit
f5ec7ea864
@@ -188,7 +188,6 @@ namespace BlackMisc
|
||||
*/
|
||||
void setCom2System(const CComSystem &comSystem) { this->m_com2system = comSystem; }
|
||||
|
||||
|
||||
/*!
|
||||
* \brief Is any (COM1/2) active frequency within 8.3383kHz channel?
|
||||
*/
|
||||
@@ -198,6 +197,15 @@ namespace BlackMisc
|
||||
this->m_com2system.isActiveFrequencyWithin8_33kHzChannel(comFrequency);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Is any (COM1/2) active frequency within 25kHz channel?
|
||||
*/
|
||||
bool isActiveFrequencyWithin25kHzChannel(const BlackMisc::PhysicalQuantities::CFrequency &comFrequency)
|
||||
{
|
||||
return this->m_com1system.isActiveFrequencyWithin25kHzChannel(comFrequency) ||
|
||||
this->m_com2system.isActiveFrequencyWithin25kHzChannel(comFrequency);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Get transponder
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user