更新 'src/Network/fgcom.cxx'
This commit is contained in:
parent
bf088f55c0
commit
b53cb00d9c
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user