summaryrefslogtreecommitdiff
path: root/driver_zodiac.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_zodiac.c')
-rw-r--r--driver_zodiac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_zodiac.c b/driver_zodiac.c
index 0c1a4b6b..8ff73b7f 100644
--- a/driver_zodiac.c
+++ b/driver_zodiac.c
@@ -278,6 +278,7 @@ static gps_mask_t handle1003(struct gps_device_t *session)
/* ticks = getzlong(6); */
/* sequence = getzword(8); */
+ clear_dop(&session->gpsdata.dop);
session->gpsdata.dop.gdop = (unsigned int)getzword(9) * 1e-2;
session->gpsdata.dop.pdop = (unsigned int)getzword(10) * 1e-2;
session->gpsdata.dop.hdop = (unsigned int)getzword(11) * 1e-2;