diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-06-15 17:28:40 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-06-15 17:28:40 +0000 |
commit | 14bd6c57b9e479354eb0f60bae79dc274d54f0cb (patch) | |
tree | 7397271bf5bef76b4545e574cb523eca982cf40d /libgps.c | |
parent | d7aa3db02d43fc7c123a2d3300116611ca835aa3 (diff) | |
download | gpsd-14bd6c57b9e479354eb0f60bae79dc274d54f0cb.tar.gz |
New packet-return API using newdata and explicit merging.
Diffstat (limited to 'libgps.c')
-rw-r--r-- | libgps.c | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -74,23 +74,6 @@ int gpsd_units(void) } #endif /* __UNUSED__ */ -void gps_clear_fix(struct gps_fix_t *fixp) -/* stuff a fix structure with recognizable out-of-band values */ -{ - fixp->time = NAN; - fixp->mode = MODE_NOT_SEEN; - fixp->track = NAN; - fixp->speed = NAN; - fixp->climb = NAN; - fixp->altitude = NAN; - fixp->ept = NAN; - fixp->eph = NAN; - fixp->epv = NAN; - fixp->epd = NAN; - fixp->eps = NAN; - fixp->epc = NAN; -} - struct gps_data_t *gps_open(const char *host, const char *port) /* open a connection to a gpsd daemon */ { |