[Bugfix][API-547][PPS]the pps timing is abnormal
Change-Id: I1d4a6de14c2a6c16f0256527e6682f37b4218392
diff --git a/src/connectivity/gps/2.0/mtk_mnld/mnl/libs/inc/mtk_gps_type.h b/src/connectivity/gps/2.0/mtk_mnld/mnl/libs/inc/mtk_gps_type.h
old mode 100644
new mode 100755
index 69b828b..620f572
--- a/src/connectivity/gps/2.0/mtk_mnld/mnl/libs/inc/mtk_gps_type.h
+++ b/src/connectivity/gps/2.0/mtk_mnld/mnl/libs/inc/mtk_gps_type.h
@@ -1562,7 +1562,7 @@
typedef struct
{
UINT32 pps_version;
- INT32 pps_delay;
+ INT32 pps_delay; //lei modify for pps 2022/8/27
UINT8 pps_polarity;
UINT16 pps_duty;
} MTK_GPS_PPS_CFG;
@@ -1620,7 +1620,7 @@
UINT8 factory_test_state; //0: normal, 1: specific customer's factory test
UINT8 factory_mode; //0: normal mode, 1: non-normal mode
UINT8 pps_polarity; /* Range: 0~1 , Default: 0 */
- INT32 pps_delay; /* Range: -4000~4000, Default: 0 */
+ INT32 pps_delay; /* Range: -4000~4000, Default: 0 */ //lei add for pps 2022/8/27
INT8 elev_mask; /* Range: 0~90 */
} MTK_GPS_INIT_CFG;
diff --git a/src/connectivity/gps/2.0/mtk_mnld/mnld_entity/inc/mnl_common.h b/src/connectivity/gps/2.0/mtk_mnld/mnld_entity/inc/mnl_common.h
old mode 100644
new mode 100755
index f10bd01..408b2ee
--- a/src/connectivity/gps/2.0/mtk_mnld/mnld_entity/inc/mnl_common.h
+++ b/src/connectivity/gps/2.0/mtk_mnld/mnld_entity/inc/mnl_common.h
@@ -204,7 +204,7 @@
/*for pps*/
int pps_mode; /* 1PPS mode, Default: MTK_PPS_DISABLE */
- int pps_delay; /* range: -4000~4000 unit: ns */
+ int pps_delay; /* range: -4000~4000 unit: ns */ //lei modify for pps 2022/8/27
int pps_polarity; /* pps polarity, Range: 0~1, Default: 0, 0: pps active low 1: pps active high */
int pps_duty; /* PPS pulse high duration (ms), Range: 0~2000, Default: 0 */