From c5fb798d7469fa57b5c544448ab12cd05829be11 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Wed, 9 Nov 2022 23:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'src/Network/fgcom.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Network/fgcom.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index b140b3a..71d55ae 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -406,6 +406,9 @@ void FGCom::setupCommFrequency(int channel) { void FGCom::connectToCommFrequency() { // ensure that the current comm is still in range + + SG_LOG(SG_SOUND,SG_INFO,"connectToCommFrequency"); + if ((_currentCallFrequency > 0.0) && !isInRange(_currentCallFrequency)) { SG_LOG(SG_SOUND, SG_WARN, "FGCom: call out of range of: " << _currentCallFrequency); _currentCallFrequency = 0.0;