diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-15 15:39:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-15 15:39:58 +0000 |
commit | 44cb2f4ae38ea95477b0955e2e5535676243669a (patch) | |
tree | 6cde846d88b0856a594b079ab45024aa34e0b740 /driver_italk.c | |
parent | 681b1f0e0dd22eb62ba1145ce7f68ee1706be19f (diff) | |
download | gpsd-44cb2f4ae38ea95477b0955e2e5535676243669a.tar.gz |
Using clear_dop() means we can get rid of instances of several different flags.
All regression tests pass.
Diffstat (limited to 'driver_italk.c')
-rw-r--r-- | driver_italk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_italk.c b/driver_italk.c index 169aeeee..ac8945f5 100644 --- a/driver_italk.c +++ b/driver_italk.c @@ -84,7 +84,7 @@ static gps_mask_t decode_itk_navfix(struct gps_device_t *session, unsigned char session->gpsdata.dop.pdop = (double)(getleuw(buf, 7 + 60)/100.0); session->gpsdata.dop.vdop = (double)(getleuw(buf, 7 + 62)/100.0); session->gpsdata.dop.tdop = (double)(getleuw(buf, 7 + 64)/100.0); - mask |= HDOP_SET | GDOP_SET | PDOP_SET | VDOP_SET | TDOP_SET; + mask |= DOP_SET; } if ((pflags & FIX_FLAG_MASK_INVALID) == 0 && (flags & FIXINFO_FLAG_VALID) != 0){ |