Skip to content
Snippets Groups Projects
Commit d6d98211 authored by Tim Everett's avatar Tim Everett
Browse files

- Fix bug that causes double antenna offset when anttype='*'

parent 7ce740d3
No related branches found
No related tags found
No related merge requests found
......@@ -909,7 +909,8 @@ static int antpos(prcopt_t *opt, int rcvno, const obs_t *obs, const nav_t *nav,
trace(1,"no position in rinex header\n");
return 0;
}
/* antenna delta */
/* add antenna delta unless using rinex header deltas */
if (strcmp(opt->anttype[rcvno],"*")) return 1;
if (stas[rcvno==1?0:1].deltype==0) { /* enu */
for (i=0;i<3;i++) del[i]=stas[rcvno==1?0:1].del[i];
del[2]+=stas[rcvno==1?0:1].hgt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment