diff options
author | Michael Tatarinov <kukabu@gmail.com> | 2011-10-06 11:29:14 +0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-10-06 03:37:07 -0400 |
commit | afad78bd808e2ca0197b6c0fcde9b3b3430ce316 (patch) | |
tree | 0719feac1417bbd4824e7fdf5f3fe3e28f1bc389 /gpsd.h-tail | |
parent | 84b3bdee653eeef09a99e47cf93e1f67bf170170 (diff) | |
download | gpsd-afad78bd808e2ca0197b6c0fcde9b3b3430ce316.tar.gz |
SiRF driver. Bug fix in code to set used flags on SBAS satellites.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r-- | gpsd.h-tail | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail index d3c413da..309e34d9 100644 --- a/gpsd.h-tail +++ b/gpsd.h-tail @@ -484,7 +484,12 @@ struct gps_device_t { unsigned char dr_timeout; unsigned char track_smooth_mode; /* fields from DGPS Status */ - unsigned int sbas; + unsigned int dgps_source; +#define SIRF_DGPS_SOURCE_NONE 0 /* No DGPS correction type have been selected */ +#define SIRF_DGPS_SOURCE_SBAS 1 /* SBAS */ +#define SIRF_DGPS_SOURCE_SERIAL 2 /* RTCM corrections */ +#define SIRF_DGPS_SOURCE_BEACON 3 /* Beacon corrections */ +#define SIRF_DGPS_SOURCE_SOFTWARE 4 /* Software API corrections */ } sirf; #endif /* SIRF_ENABLE */ #ifdef SUPERSTAR2_ENABLE |