mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
@@ -1217,8 +1217,7 @@ namespace BlackCore::Fsd
|
||||
for (int freqKhz : textMessage.m_frequencies)
|
||||
{
|
||||
CFrequency f(freqKhz, CFrequencyUnit::kHz());
|
||||
// VATSIM always drops the last 5 kHz. So round it to the correct channel spacing.
|
||||
CComSystem::roundToChannelSpacing(f, CComSystem::ChannelSpacing25KHz);
|
||||
CComSystem::roundToChannelSpacing(f, CComSystem::ChannelSpacing8_33KHz);
|
||||
if (f == com1 || f == com2)
|
||||
{
|
||||
frequencies.push_back(f);
|
||||
|
||||
Reference in New Issue
Block a user