更新 'src/Network/fgcom.cxx'

This commit is contained in:
zhongjin 2022-12-06 16:07:02 +08:00
parent dcf4f45d31
commit e2a3bd9493

View File

@ -647,8 +647,7 @@ void FGCom::valueChanged(SGPropertyNode *prop)
_mpTransmitFrequencyNode->setValue(_currentCallFrequency * 1000000); _mpTransmitFrequencyNode->setValue(_currentCallFrequency * 1000000);
_mpTransmitPowerNode->setValue(1.0); _mpTransmitPowerNode->setValue(1.0);
SGPath soundpath( globals->get_fg_root() ); SGPath soundpath( globals->get_fg_root() + "/Sounds/click.wav" );
soundpath.append( "/Sounds/click.wav" );
SG_LOG(SG_SOUND, SG_ALERT, "FGCom: PTT active: " << soundpath); SG_LOG(SG_SOUND, SG_ALERT, "FGCom: PTT active: " << soundpath);