diff options
author | Gary E. Miller <gem@rellim.com> | 2018-02-12 15:05:35 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2018-02-12 15:05:35 -0800 |
commit | 74d442015a5066701b9513a27b78db373fa531cd (patch) | |
tree | a6f6afd9d7bf618be4eb2c487102da372a8a86ce /gpsutils.c | |
parent | b2ba8d5ade0f9d55c2b51ca41d9c9604662452ad (diff) | |
download | gpsd-74d442015a5066701b9513a27b78db373fa531cd.tar.gz |
ECEF: remove unused and unneeded ecef.valid.
Gotta check each value for isfinite() anyway.
Diffstat (limited to 'gpsutils.c')
-rw-r--r-- | gpsutils.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -303,14 +303,12 @@ void gps_merge_fix(struct gps_fix_t *to, if ((transfer & SPEEDERR_SET) != 0) to->eps = from->eps; if ((transfer & ECEF_SET) != 0) { - to->ecef.valid = true; to->ecef.x = from->ecef.x; to->ecef.y = from->ecef.y; to->ecef.z = from->ecef.z; to->ecef.pAcc = from->ecef.pAcc; } if ((transfer & VECEF_SET) != 0) { - to->ecef.valid = true; to->ecef.vx = from->ecef.vx; to->ecef.vy = from->ecef.vy; to->ecef.vz = from->ecef.vz; |