diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-29 17:45:08 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-29 17:47:37 -0400 |
commit | 7142e1766ca60d08c377e902620d4478d4bf6d70 (patch) | |
tree | 9a12c1951a816a8cfe21e847b0652c8a0754b00f /driver_superstar2.c | |
parent | 8a254d4074a73b6db19fd7943bd9349f2feb12e6 (diff) | |
download | gpsd-7142e1766ca60d08c377e902620d4478d4bf6d70.tar.gz |
Beat the splint beast into submission.
Code splints clean, all regression tests pass, but 1PPS is not being detected
and wasn't before this changeset. Debug messages suggest the trailing edge
is being rejected.
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 90cdcd28..b0003773 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; - /*@i1@*/session->gpsdata.dop.hdop = getleu16(buf, 66) * 0.1; - /*@i1@*/session->gpsdata.dop.vdop = getleu16(buf, 68) * 0.1; + /*@i3@*/session->gpsdata.dop.hdop = getleu16(buf, 66) * 0.1; + /*@i3@*/session->gpsdata.dop.vdop = getleu16(buf, 68) * 0.1; /* other DOP if available */ mask |= DOP_SET | USED_IS; |