diff options
author | Gary E. Miller <gem@rellim.com> | 2006-09-27 17:36:29 +0000 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2006-09-27 17:36:29 +0000 |
commit | e7b7fec41d2f2f447f33d59c70ca3da4fac88830 (patch) | |
tree | 11f8fa9d876532c9a42f10cb55db3a230f62e878 /drivers.c | |
parent | 8bafc32468e1bf5b33205e97293b99d927b1855f (diff) | |
download | gpsd-e7b7fec41d2f2f447f33d59c70ca3da4fac88830.tar.gz |
Turn off Garmin position averaging
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -159,7 +159,7 @@ static void garmin_nmea_initializer(struct gps_device_t *session) /* reset some config, AutoFix, WGS84, PPS */ (void)nmea_send(session->gpsdata.gps_fd, "$PGRMC,A,,100,,,,,,A,,1,2,4,30"); /* once a sec, no averaging, NMEA 2.3, WAAS */ - (void)nmea_send(session->gpsdata.gps_fd, "$PGRMC1,1,1,2,,,,2,W,N"); + (void)nmea_send(session->gpsdata.gps_fd, "$PGRMC1,1,1,1,,,,2,W,N"); /* get some more config info */ (void)nmea_send(session->gpsdata.gps_fd, "$PGRMC1E"); /* turn off all output */ @@ -173,7 +173,7 @@ static void garmin_nmea_initializer(struct gps_device_t *session) #if GARMIN_ENABLE /* try to go binary */ /* once a sec, binary, no averaging, NMEA 2.3, WAAS */ - (void)nmea_send(session->gpsdata.gps_fd, "$PGRMC1,1,2,2,,,,2,W,N"); + (void)nmea_send(session->gpsdata.gps_fd, "$PGRMC1,1,2,1,,,,2,W,N"); /* reset to get into binary */ (void)nmea_send(session->gpsdata.gps_fd, "$PGRMI,,,,,,,R"); /* probe for Garmin serial binary by trying to Product Data request */ |