Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/rtksvr.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ extern int rtksvrstart(rtksvr_t *svr, int cycle, int buffsize, int *strs,
int nmeareq, const double *nmeapos, prcopt_t *prcopt,
solopt_t *solopt, stream_t *moni, char *errmsg)
{
gtime_t time,time0={0};
gtime_t time;
int i,j,rw;

tracet(3,"rtksvrstart: cycle=%d buffsize=%d navsel=%d nmeacycle=%d nmeareq=%d\n",
Expand Down Expand Up @@ -972,10 +972,13 @@ extern int rtksvrstart(rtksvr_t *svr, int cycle, int buffsize, int *strs,
svr->rtk.rb[i]=i<3?prcopt->rb[i]:0.0;
}
}
#ifdef RTKLIB_DISABLED
/* update navigation data */
gtime_t time0 = {0};
for (i=0;i<MAXSAT*4 ;i++) svr->nav.eph [i].ttr=time0;
for (i=0;i<MAXPRNGLO*2;i++) svr->nav.geph[i].tof=time0;
for (i=0;i<NSATSBS*2;i++) svr->nav.seph[i].tof=time0;
#endif

/* set monitor stream */
svr->moni=moni;
Expand Down