summaryrefslogtreecommitdiff
path: root/gpsrinex.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-05-14 16:36:56 -0700
committerGary E. Miller <gem@rellim.com>2019-05-14 16:36:56 -0700
commit1ee96fa99c8f58e21d812ddba3f61d0102fb329b (patch)
tree2b0b2f0470d913ad00304a6137db19b975e829dd /gpsrinex.c
parentd2e44f0d50a20d1fc623e45a4213242a0d423dee (diff)
downloadgpsd-1ee96fa99c8f58e21d812ddba3f61d0102fb329b.tar.gz
gpsrinex: Allow ECEF even if no LATLON_SET.
Maybe just ECEF set.
Diffstat (limited to 'gpsrinex.c')
-rw-r--r--gpsrinex.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpsrinex.c b/gpsrinex.c
index 9cdc6080..fcef734f 100644
--- a/gpsrinex.c
+++ b/gpsrinex.c
@@ -764,8 +764,7 @@ static void conditionally_log_fix(struct gps_data_t *gpsdata)
/* mostly we don't care if 2D or 3D fix, let the post processor
* decide */
- if ((MODE_2D < gpsdata->fix.mode) &&
- (LATLON_SET & gpsdata->set)) {
+ if (MODE_2D < gpsdata->fix.mode) {
/* got a good 3D fix */
if (isfinite(gpsdata->fix.ecef.x) &&
isfinite(gpsdata->fix.ecef.y) &&