|
|
|
@ -43,6 +43,7 @@
|
|
|
|
|
#include <iaxclient.h>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#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);
|
|
|
|
|