summaryrefslogtreecommitdiff
path: root/driver_sirf.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-07 18:30:53 -0800
committerGary E. Miller <gem@rellim.com>2019-03-07 18:30:53 -0800
commitf9621160cc83851ca8e8c8672c7df46dad5505f1 (patch)
treed644033415895e7dcd65d6c479a1406ee499874c /driver_sirf.c
parent05671b42d51a81f36a6e62a605817019be134ef3 (diff)
downloadgpsd-f9621160cc83851ca8e8c8672c7df46dad5505f1.tar.gz
Change NMEA mode setting, thus major changes in gpsd_error_model().
The start of this overly large patch was to simply move the test for MODE_2D/3D flipping, which only affect NMEA 183, back into driver_nmea0813.c But that was intertwined with how gpsd_error_model() computes derived variables, which required major changes to how NMEA 183 mode_2D/3D are set. This ultimatly led to major regression test results. Almost all for the better. I tried to break it up, but moving from one paradigm to another needed one big jump...
Diffstat (limited to 'driver_sirf.c')
-rw-r--r--driver_sirf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/driver_sirf.c b/driver_sirf.c
index e6230a25..07dd195a 100644
--- a/driver_sirf.c
+++ b/driver_sirf.c
@@ -514,7 +514,8 @@ static gps_mask_t sirf_msg_navnot(struct gps_device_t *session,
case 1:
/* last message sent every cycle */
definition = "SID_GPS_SIRFNAV_COMPLETE";
- mask = CLEAR_IS | REPORT_IS;
+ /* so push a report now */
+ mask = REPORT_IS;
break;
case 2:
definition = "SID_GPS_SIRFNAV_TIMING";