From 1ee96fa99c8f58e21d812ddba3f61d0102fb329b Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 14 May 2019 16:36:56 -0700 Subject: gpsrinex: Allow ECEF even if no LATLON_SET. Maybe just ECEF set. --- gpsrinex.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gpsrinex.c') 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) && -- cgit v1.2.1