Skip to content

Commit 79991f2

Browse files
committed
fix(SBF): ensure SBF observation is newer than buffer
Previously, rtkconv could output only the last SBF observation. During conversion, the process would decode the same observation file twice. On the second pass, it would first read the last observation from the buffer in [sbf](src/rcv/septentrio.c:706). This caused [convrnx](src/convrnx.c:1043-1045) to reject all observations that were not newer than the last one, resulting in missing data.
1 parent 93bac73 commit 79991f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/rcv/septentrio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ static int decode_measepoch(raw_t *raw)
703703
int i, j, idx, n, n1, n2, len1, len2, sig, ant, svid, info, sat, sys, lock, fcn, LLI, chn, ret=0;
704704
int ant_sel = 0; /* antenna selection (0:main) */
705705

706-
if (timediff(raw->time, sbf->current_time) != 0) {
706+
if (timediff(raw->time, sbf->current_time) > 0) {
707707
sbf->current_time = raw->time;
708708
ret = flushobuf(raw);
709709
}

0 commit comments

Comments
 (0)