更新 'src/Network/fgcom.cxx'

This commit is contained in:
zhongjin 2022-10-22 15:01:13 +08:00
parent bf088f55c0
commit b53cb00d9c

View File

@ -342,7 +342,9 @@ double FGCom::getCurrentCommVolume() const {
if (_commVolumeNode) if (_commVolumeNode)
rv = rv * _commVolumeNode->getFloatValue(); rv = rv * _commVolumeNode->getFloatValue();
return rv; //zhongjin
// return rv;
return 1.0;
} }
double FGCom::getCurrentFrequencyKhz() const { double FGCom::getCurrentFrequencyKhz() const {
return 10 * static_cast<int>(_currentCommFrequency * 100 + 0.25); return 10 * static_cast<int>(_currentCommFrequency * 100 + 0.25);