From b9b31cb32e3a5c690c01362449f81c989114cc20 Mon Sep 17 00:00:00 2001 From: zhongjin Date: Sat, 28 Oct 2023 00:20:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'utils/fgcom/fgcom=5Fexter?= =?UTF-8?q?nal.cxx'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/fgcom/fgcom_external.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/utils/fgcom/fgcom_external.cxx b/utils/fgcom/fgcom_external.cxx index e899a8b..cc9a423 100644 --- a/utils/fgcom/fgcom_external.cxx +++ b/utils/fgcom/fgcom_external.cxx @@ -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,