Skip to content

Commit

Permalink
添加rtk后处理函数
Browse files Browse the repository at this point in the history
  • Loading branch information
Erensu committed Apr 28, 2019
1 parent e2860e9 commit db21ffc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ins-gnss/app/rnx2rtkp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ int main(int argc, char **argv)
fprintf(stderr,"no options file: %s. defaults used\n",file);
}
getsysopts(&prcopt,&solopt,&filopt);
for (i=0;i<16;i++) {
for (i=0;i<MAXFILE;i++) {
if (!(infile[i]=(char *)malloc(1024))) {
for (;i>=0;i--) free(infile[i]); return -1;
}
Expand All @@ -147,5 +147,8 @@ int main(int argc, char **argv)
ret=postpos(ts,te,tint,0.0,&prcopt,&solopt,&filopt,infile,n,outfile,"","");

if (!ret) fprintf(stderr,"%40s\r","");
for (i=0;i<MAXFILE;i++) {
free(infile[i]);
}
return ret;
}

0 comments on commit db21ffc

Please sign in to comment.