更新 'src/Network/fgcom.cxx'
This commit is contained in:
parent
340f33f2d4
commit
31ff59a981
@ -639,7 +639,14 @@ void FGCom::valueChanged(SGPropertyNode *prop)
|
|||||||
if (prop == _ptt_node && _enabled) {
|
if (prop == _ptt_node && _enabled) {
|
||||||
if (_ptt_node->getIntValue()) {
|
if (_ptt_node->getIntValue()) {
|
||||||
// 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按下,请讲...");
|
||||||
|
|
||||||
|
|
||||||
|
if (fgGetBool("/sim/view-name-popup")) {
|
||||||
|
args->setStringValue("label", "PTT按下,请讲...");
|
||||||
|
globals->get_commands()->execute("show-message", args, nullptr);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
setupCommFrequency();
|
setupCommFrequency();
|
||||||
iaxc_output_level_set(0.0);
|
iaxc_output_level_set(0.0);
|
||||||
|
Loading…
Reference in New Issue
Block a user