summaryrefslogtreecommitdiff
path: root/driver_nmea0183.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-20 15:02:00 -0700
committerGary E. Miller <gem@rellim.com>2015-03-20 15:02:00 -0700
commit9f6c0afcd98041a0beff75de1fcc621aff7e6618 (patch)
treec87a1aa7eec59b3938f494d44a995d28be951ecd /driver_nmea0183.c
parent24ca7ef6452c64f4366a06e7a660804353c744d0 (diff)
downloadgpsd-9f6c0afcd98041a0beff75de1fcc621aff7e6618.tar.gz
Comment PMTK324
Diffstat (limited to 'driver_nmea0183.c')
-rw-r--r--driver_nmea0183.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver_nmea0183.c b/driver_nmea0183.c
index 9d3e7af3..46307ff9 100644
--- a/driver_nmea0183.c
+++ b/driver_nmea0183.c
@@ -1312,6 +1312,8 @@ static gps_mask_t processMTK3301(int c UNUSED, char *field[],
* 16368000 cycles/second = 1/128 seconds = 7.8125
* milliseconds"
*/
+
+ /* too short? Make it longer */
if (atoi(field[5]) < 127875)
(void)nmea_send(session, "$PMTK324,0,0,1,0,127875");
return ONLINE_SET;