瀏覽代碼

修改代码缺陷

zhoutao 2 月之前
父節點
當前提交
973324dc13
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/modules/location/lct_coordcal.c

+ 2 - 2
src/modules/location/lct_coordcal.c

@@ -130,10 +130,10 @@ void lct_coordcal_main(PUB_LCT_BTS_LIST_T *pstLctBtsList, PUB_LOCATION_DATA_T *p
 
         ////一维定位
         // 计算径
-        lct_coordcal_check_valid_bts_by_move_direction(CAL_PATH, pstFirstPathDataList, byFirstPathDataListLen, pstLctDataList, &stAheadPointCoord, byChangeXY, gLct_byDirectionX, gLct_byDirectionY, &byValidCalPathBtsListLen);
+        lct_coordcal_check_valid_bts_by_move_direction(CAL_PATH, pstFirstPathDataList, byFirstPathDataListLen, pstLctDataList, &stAheadPointCoord, byChangeXY, gLct_byDirectionX, gLct_byDirectionY, &byFirstPathDataListLen);
         lct_coordcal_one_dimension_location(pstLctDataList, byPredictionFlag, stPredictionCoord, pstFirstPathDataList, byFirstPathDataListLen, CAL_PATH, &stMinmumValueGroup);
         // 跟踪径
-        lct_coordcal_check_valid_bts_by_move_direction(TRACK_PATH, pstFirstPathDataList, byFirstPathDataListLen, pstLctDataList, &stAheadPointCoord, byChangeXY, gLct_byDirectionX, gLct_byDirectionY, &byValidCalPathBtsListLen);
+        lct_coordcal_check_valid_bts_by_move_direction(TRACK_PATH, pstFirstPathDataList, byFirstPathDataListLen, pstLctDataList, &stAheadPointCoord, byChangeXY, gLct_byDirectionX, gLct_byDirectionY, &byFirstPathDataListLen);
         lct_coordcal_one_dimension_location(pstLctDataList, byPredictionFlag, stPredictionCoord, pstFirstPathDataList, byFirstPathDataListLen, TRACK_PATH, &stMinmumValueGroup);
 
         ////二维定位