Skip to content

Commit 787464e

Browse files
committed
The COR packets 'navg' field has the same units as 'time_tag'.
1 parent 109b04b commit 787464e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/formats/cor.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class CORDecoder : virtual public PacketDecoder {
7272
pkt->sync = pkt_hdr->sync_word;
7373
pkt->time_tag = be64toh(pkt_hdr->time_tag);
7474
pkt->decimation = be32toh(pkt_hdr->navg);
75-
pkt->seq = pkt->time_tag / 196000000 / (pkt->decimation / 100);
75+
pkt->seq = pkt->time_tag / pkt->decimation;
7676
pkt->nsrc = _nsrc;
7777
pkt->src = (stand0*(2*(nstand-1)+1-stand0)/2 + stand1 + 1 - _src0)*nserver \
7878
+ (server - 1);

0 commit comments

Comments
 (0)