From 1a28b6f44b2edc61a8d1922f1adcf0c69683033e Mon Sep 17 00:00:00 2001 From: zhongjin Date: Tue, 6 Dec 2022 23:42:22 +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 1161d46..128e911 100644 --- a/src/Network/fgcom.cxx +++ b/src/Network/fgcom.cxx @@ -43,6 +43,7 @@ #include + #define NUM_CALLS 4 #define MAX_GND_RANGE 10.0 #define MAX_TWR_RANGE 50.0 @@ -241,6 +242,8 @@ void FGCom::init() SG_LOG(SG_SOUND, SG_ALERT, "FGCom: init"); + mesPopup("PTT按下,请讲...",5); + } @@ -636,7 +639,7 @@ void FGCom::valueChanged(SGPropertyNode *prop) // ensure that we are on the right channel by calling setupCommFrequency //fgSetString("/sim/screen/red","PTT按下,请讲..."); - mesPopup("PTT按下,请讲...",5); + //mesPopup("PTT按下,请讲...",5); setupCommFrequency(); iaxc_output_level_set(0.0);