更新 'src/Network/fgcom.cxx'
This commit is contained in:
parent
26e03ff950
commit
c5fb798d74
@ -406,6 +406,9 @@ void FGCom::setupCommFrequency(int channel) {
|
|||||||
|
|
||||||
void FGCom::connectToCommFrequency() {
|
void FGCom::connectToCommFrequency() {
|
||||||
// ensure that the current comm is still in range
|
// ensure that the current comm is still in range
|
||||||
|
|
||||||
|
SG_LOG(SG_SOUND,SG_INFO,"connectToCommFrequency");
|
||||||
|
|
||||||
if ((_currentCallFrequency > 0.0) && !isInRange(_currentCallFrequency)) {
|
if ((_currentCallFrequency > 0.0) && !isInRange(_currentCallFrequency)) {
|
||||||
SG_LOG(SG_SOUND, SG_WARN, "FGCom: call out of range of: " << _currentCallFrequency);
|
SG_LOG(SG_SOUND, SG_WARN, "FGCom: call out of range of: " << _currentCallFrequency);
|
||||||
_currentCallFrequency = 0.0;
|
_currentCallFrequency = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user