mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #398, removed fix after RW has fixed it in vatlib
This commit is contained in:
@@ -749,7 +749,6 @@ namespace BlackCore
|
||||
void CNetworkVatlib::onAtcPositionUpdate(VatSessionID, const char *callsign, const VatAtcPosition *pos, void *cbvar)
|
||||
{
|
||||
int frequencyKHz = pos->frequency;
|
||||
if (frequencyKHz < 100000) { frequencyKHz += 100000; }
|
||||
CFrequency freq(frequencyKHz, CFrequencyUnit::kHz());
|
||||
freq.switchUnit(CFrequencyUnit::MHz()); // we would not need to bother, but this makes it easier to identify
|
||||
Q_ASSERT(CComSystem::isValidCivilAviationFrequency(freq));
|
||||
|
||||
Reference in New Issue
Block a user