更新 'utils/fgcom/fgcom_external.cxx'

This commit is contained in:
zhongjin 2023-10-28 00:20:31 +08:00
parent 6bf65d13dd
commit b9b31cb32e

View File

@ -466,8 +466,9 @@ int version()
std::string computePhoneNumber(double freq, std::string icao, bool atis)
{
if(icao.empty())
return std::string();
// zhongjin 测试环境,去掉机场编号
//if(icao.empty())
// return std::string();
char phoneNumber[256];
char exten[32];
@ -486,6 +487,7 @@ std::string computePhoneNumber(double freq, std::string icao, bool atis)
(int) (freq * 1000 + 0.5) );
exten[16] = '\0';
// zhongjin 测试环境,去掉机场编号
sprintf( exten,
"%02d%06d",
01,