diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-28 19:02:23 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-28 19:02:23 -0400 |
commit | 009ba6e3452df29cbf1757bc0c79dc14683a98da (patch) | |
tree | 4775cfa65e817c69a6f29a0ac87daab8701c7ae2 /driver_superstar2.c | |
parent | 5f710d3469c8da31014000ac13664fe92c57757d (diff) | |
download | gpsd-009ba6e3452df29cbf1757bc0c79dc14683a98da.tar.gz |
Clean up most spint errors. All regression tests pass.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r-- | driver_superstar2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c index e57463b1..90cdcd28 100644 --- a/driver_superstar2.c +++ b/driver_superstar2.c @@ -115,8 +115,8 @@ superstar2_msg_navsol_lla(struct gps_device_t *session, mask |= LATLON_SET | ALTITUDE_SET | SPEED_SET | TRACK_SET | CLIMB_SET; session->gpsdata.satellites_used = (int)getub(buf, 71) & 0x0f; - session->gpsdata.dop.hdop = getleu16(buf, 66) * 0.1; - session->gpsdata.dop.vdop = getleu16(buf, 68) * 0.1; + /*@i1@*/session->gpsdata.dop.hdop = getleu16(buf, 66) * 0.1; + /*@i1@*/session->gpsdata.dop.vdop = getleu16(buf, 68) * 0.1; /* other DOP if available */ mask |= DOP_SET | USED_IS; |