mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
Remove unused ChannelSpacing parameter
This commit is contained in:
@@ -45,7 +45,7 @@ namespace BlackMisc::Aviation
|
||||
});
|
||||
}
|
||||
|
||||
CAtcStationList CAtcStationList::findIfFrequencyIsWithinSpacing(const CFrequency &frequency, CComSystem::ChannelSpacing spacing)
|
||||
CAtcStationList CAtcStationList::findIfFrequencyIsWithinSpacing(const CFrequency &frequency)
|
||||
{
|
||||
if (frequency.isNull()) { return CAtcStationList(); }
|
||||
return this->findBy([&](const CAtcStation & atcStation)
|
||||
|
||||
@@ -51,8 +51,8 @@ namespace BlackMisc::Aviation
|
||||
//! Any stations tuned in frequency of COM unit (with channel spacing)
|
||||
bool hasComUnitTunedInChannelSpacing(const CComSystem &comUnit) const;
|
||||
|
||||
//! Find 0..n stations within channel spacing
|
||||
CAtcStationList findIfFrequencyIsWithinSpacing(const PhysicalQuantities::CFrequency &frequency, CComSystem::ChannelSpacing spacing);
|
||||
//! Find 0..n stations with frequency (with 5 kHz spacing for .x20/.x25 and .x70/.x75)
|
||||
CAtcStationList findIfFrequencyIsWithinSpacing(const PhysicalQuantities::CFrequency &frequency);
|
||||
|
||||
//! Update if message changed
|
||||
bool updateIfMessageChanged(const CInformationMessage &im, const CCallsign &callsign, bool overrideWithNewer);
|
||||
|
||||
Reference in New Issue
Block a user