更新 'src/Network/fgcom.cxx'
This commit is contained in:
parent
19edc89613
commit
1a28b6f44b
@ -43,6 +43,7 @@
|
|||||||
#include <iaxclient.h>
|
#include <iaxclient.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define NUM_CALLS 4
|
#define NUM_CALLS 4
|
||||||
#define MAX_GND_RANGE 10.0
|
#define MAX_GND_RANGE 10.0
|
||||||
#define MAX_TWR_RANGE 50.0
|
#define MAX_TWR_RANGE 50.0
|
||||||
@ -241,6 +242,8 @@ void FGCom::init()
|
|||||||
|
|
||||||
SG_LOG(SG_SOUND, SG_ALERT, "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
|
// ensure that we are on the right channel by calling setupCommFrequency
|
||||||
//fgSetString("/sim/screen/red","PTT按下,请讲...");
|
//fgSetString("/sim/screen/red","PTT按下,请讲...");
|
||||||
|
|
||||||
mesPopup("PTT按下,请讲...",5);
|
//mesPopup("PTT按下,请讲...",5);
|
||||||
|
|
||||||
setupCommFrequency();
|
setupCommFrequency();
|
||||||
iaxc_output_level_set(0.0);
|
iaxc_output_level_set(0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user