From 36b725df159f2672d3ee667b09a0a6ae8fde59c9 Mon Sep 17 00:00:00 2001 From: oaq Date: Mon, 29 Jun 2026 23:42:48 +1000 Subject: [PATCH] rtcm3: for message 1006 use the ENU delta type The delta is zero, but the ENU delta type is simpler to process. --- src/rtcm3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rtcm3.c b/src/rtcm3.c index 7a284241b..a8ce004ec 100644 --- a/src/rtcm3.c +++ b/src/rtcm3.c @@ -485,7 +485,7 @@ static int decode_type1005(rtcm_t *rtcm) if (!test_staid(rtcm,staid)) return -1; sprintf(rtcm->sta.name,"%04d",staid); - rtcm->sta.deltype=0; /* xyz */ + rtcm->sta.deltype=0; // ENU for (j=0;j<3;j++) { rtcm->sta.pos[j]=rr[j]*0.0001; rtcm->sta.del[j]=0.0; @@ -524,7 +524,7 @@ static int decode_type1006(rtcm_t *rtcm) if (!test_staid(rtcm,staid)) return -1; sprintf(rtcm->sta.name,"%04d",staid); - rtcm->sta.deltype=1; /* xyz */ + rtcm->sta.deltype=0; // ENU for (j=0;j<3;j++) { rtcm->sta.pos[j]=rr[j]*0.0001; rtcm->sta.del[j]=0.0;