From 8ce0f8300daa1eb3df13bfe6c5363f8cff767bc9 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sat, 22 Oct 2022 15:48:38 +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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Network/fgcom.cxx b/src/Network/fgcom.cxx index 2b0037f..8e70a2f 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -354,6 +354,9 @@ double FGCom::getCurrentFrequencyKhz() const { } void FGCom::setupCommFrequency(int channel) { + + SG_LOG(SG_SOUND, SG_INFO, "FGCom: setupCommFrequency " << channel); + if (channel < 1) { if (_selected_comm_node != nullptr) { channel = _selected_comm_node->getIntValue(); @@ -363,7 +366,7 @@ void FGCom::setupCommFrequency(int channel) { if (channel < 1) { if (_currentCallIdent != -1) { iaxc_dump_call_number(_currentCallIdent); - SG_LOG(SG_IO, SG_INFO, "FGCom: disconnect as channel 0 " << _currentCallIdent); + SG_LOG(SG_SOUND, SG_INFO, "FGCom: disconnect as channel 0 " << _currentCallIdent); _currentCallIdent = -1; } _currentCommFrequency = 0.0;