mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 12:35:43 +08:00
COM audio did not tune in (voice room) if channel was already selected at startup
Reason was: hardcoded channel spacing to 8.33kHz As a result changed to channel spacing based on COM unit, which could also be changed at runtime * the issue itself was in own aircraft context * added functions for channel spacing * changed to COM unit channel spacing (instead of hardcoded spacing)
This commit is contained in:
@@ -204,6 +204,9 @@ namespace BlackMisc
|
||||
//! Tuned in within 25KHz channel spacing
|
||||
bool isComUnitTunedIn25KHz(const Aviation::CComSystem &comUnit) const;
|
||||
|
||||
//! Tuned in within channel spacing
|
||||
bool isComUnitTunedInChannelSpacing(const Aviation::CComSystem &comUnit) const;
|
||||
|
||||
//! Is frequency within channel spacing
|
||||
bool isFrequencyWithinChannelSpacing(const PhysicalQuantities::CFrequency &frequency, CComSystem::ChannelSpacing spacing) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user