summaryrefslogtreecommitdiff
path: root/driver_superstar2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-02-03 08:22:34 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-03 08:23:23 -0500
commit938d271e688decf266675c8b640a71ab967af4d5 (patch)
tree6b6a1e275b908894de1f0863dcb14613f8ee142a /driver_superstar2.c
parent49e4973241842e690a6189ba02166c05e07aa796 (diff)
downloadgpsd-938d271e688decf266675c8b640a71ab967af4d5.tar.gz
Partial splint and warning cleanup. All regression tests pass.
Diffstat (limited to 'driver_superstar2.c')
-rw-r--r--driver_superstar2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_superstar2.c b/driver_superstar2.c
index fd8e2c1b..4c013fdb 100644
--- a/driver_superstar2.c
+++ b/driver_superstar2.c
@@ -111,8 +111,8 @@ superstar2_msg_navsol_lla(struct gps_device_t *session,
mask |= LATLON_IS | ALTITUDE_IS | SPEED_IS | TRACK_IS | CLIMB_IS;
session->gpsdata.satellites_used = (int)getub(buf, 71) & 0x0f;
- /*@i3@*/ session->gpsdata.dop.hdop = getleu16(buf, 66) * 0.1;
- /*@i3@*/ session->gpsdata.dop.vdop = getleu16(buf, 68) * 0.1;
+ /*@i2@*/ session->gpsdata.dop.hdop = getleu16(buf, 66) * 0.1;
+ /*@i2@*/ session->gpsdata.dop.vdop = getleu16(buf, 68) * 0.1;
/* other DOP if available */
mask |= DOP_IS | USED_IS;