Update cal_mod.h

This commit is contained in:
Kenan Zhu authored and GitHub committed 2024-09-26 18:53:23 +08:00
1 parent 6dbb8aa67d
commit fa4b53a915
1 file changed
+4 -4
+4 -4
View File
@@ -78,10 +78,10 @@ void sat_gps_pos_clac(FILE * result_file,
deg2dms temb = {0}; deg2dms temb = {0};
deg2dms teml = {0}; deg2dms teml = {0};
blh = (pblh)malloc(sizeof(pblh) * o_epochnum* 256); blh = (pblh)malloc(sizeof(pblh) * o_epochnum* 256);
enu = (penu)malloc(sizeof(penu) * o_epochnum* 256); enu = (penu)malloc(sizeof(penu) * o_epochnum* 256);
rah = (prah)malloc(sizeof(prah) * o_epochnum* 256); rah = (prah)malloc(sizeof(prah) * o_epochnum* 256);
pos_t = (ppos_t)malloc(sizeof(ppos_t) * o_epochnum* 256); pos_t = (ppos_t)malloc(sizeof(ppos_t) * o_epochnum* 256);
station = (pstation)malloc(sizeof(pstation) * o_epochnum* 256); station = (pstation)malloc(sizeof(pstation) * o_epochnum* 256);
for (int i = 0; i < o_epochnum; i++)//第i个历元 for (int i = 0; i < o_epochnum; i++)//第i个历元
{ {
result_file = fopen(".\\Pos_out\\LLA_result.txt", "a+"); result_file = fopen(".\\Pos_out\\LLA_result.txt", "a+");