diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-07-13 10:51:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-07-13 10:51:03 +0000 |
commit | 680775133a16bc9ba4801784add74ccda9d5e9d9 (patch) | |
tree | 6489829397101a6dbf1d13e2e8335640f26aa9a1 /gps.h | |
parent | 72405d13d75ae43f843bf8374bafba8c15483a61 (diff) | |
download | gpsd-680775133a16bc9ba4801784add74ccda9d5e9d9.tar.gz |
Use double rather than float for satellite signal strengths.
Makes no difference on 64-bit hardware and simplifies life for the
JSON parser, which doesn't have float type support.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -841,7 +841,7 @@ struct gps_data_t { int PRN[MAXCHANNELS]; /* PRNs of satellite */ int elevation[MAXCHANNELS]; /* elevation of satellite */ int azimuth[MAXCHANNELS]; /* azimuth */ - float ss[MAXCHANNELS]; /* signal-to-noise ratio (dB) */ + double ss[MAXCHANNELS]; /* signal-to-noise ratio (dB) */ /* where and what gpsd thinks the device is */ char gps_device[PATH_MAX]; /* only valid if non-null. */ |