更新 'src/Network/fgcom.cxx'
This commit is contained in:
parent
21291723c6
commit
63ed923418
@ -221,7 +221,9 @@ void FGCom::init()
|
||||
_username = _username_node->getStringValue();
|
||||
_password = _password_node->getStringValue();
|
||||
|
||||
_currentCommFrequency = 0.0;
|
||||
_connected = false;
|
||||
|
||||
_currentCommFrequency = 0.0;
|
||||
|
||||
_maxRange = MAX_RANGE;
|
||||
_minRange = MIN_RANGE;
|
||||
@ -258,7 +260,9 @@ void FGCom::postinit()
|
||||
std::string app = "FGFS-";
|
||||
app += _version_node->getStringValue();
|
||||
|
||||
iaxc_set_callerid( _callsign_node->getStringValue().c_str(), app.c_str() );
|
||||
//iaxc_set_callerid( _callsign_node->getStringValue().c_str(), app.c_str() );
|
||||
|
||||
iaxc_set_callerid("guest","FGCOM");
|
||||
|
||||
//iaxc_set_formats (IAXC_FORMAT_SPEEX, IAXC_FORMAT_ULAW|IAXC_FORMAT_SPEEX);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user