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