diff options
author | Gary E. Miller <gem@rellim.com> | 2019-04-19 11:22:33 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-04-19 11:22:33 -0700 |
commit | 7f4b731c773c68cecaf1723b6143252c2b4bb294 (patch) | |
tree | abbff6306c8fada19a3827f0ccd80fb2d2a98dbb /driver_nmea0183.c | |
parent | 6a03017f0f3eb7996871578c87b8b4bd321dfd64 (diff) | |
download | gpsd-7f4b731c773c68cecaf1723b6143252c2b4bb294.tar.gz |
ubxtool: Fix output of UBX-COMMS portId.
Diffstat (limited to 'driver_nmea0183.c')
-rw-r--r-- | driver_nmea0183.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/driver_nmea0183.c b/driver_nmea0183.c index a6c46cc8..ba9e0c68 100644 --- a/driver_nmea0183.c +++ b/driver_nmea0183.c @@ -1386,10 +1386,10 @@ static gps_mask_t processGSV(int count, char *field[], session->gpsdata.satellites_visible++; } -#if __UNUSED +#if 1 /* FUCK */ /* debug code */ gpsd_log(&session->context->errout, LOG_ERROR, - "x%cGSV: vis %d gagsv %d bdgsv %d glgsv %d qzzss %d\n", + "x%cGSV: vis %d gagsv %d bdgsv %d glgsv %d qzss %d\n", GSV_TALKER, session->gpsdata.satellites_visible, session->nmea.seen_gagsv, @@ -1450,6 +1450,14 @@ static gps_mask_t processGSV(int count, char *field[], && GSV_TALKER == 'P') return ONLINE_SET; +#if 1 /* FUCK */ + /* debug code */ + gpsd_log(&session->context->errout, LOG_ERROR, + "x%cGSV: set skyview_time %.2f frac_time %.2f\n", GSV_TALKER, + session->gpsdata.skyview_time, + session->nmea.this_frac_time); +#endif + /* clear computed DOPs so they get recomputed. */ /* FIXME: this kills GPS reported dops... */ session->gpsdata.dop.xdop = NAN; |