summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2007-01-27 07:27:42 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2007-01-27 07:27:42 +0000
commit067072633930483e8de71a87d329c35ae7229597 (patch)
tree1401571dec0adb0d1d164b57ceaf9b2802de7c3e /gpsd.h
parent68397cc87ed96ca75e1aabfc84a9d5c7dfca3f61 (diff)
downloadgpsd-067072633930483e8de71a87d329c35ae7229597.tar.gz
Better error modelling.
Each fix updates the error estimates using the generic model unless the driver provides a better error model. This means that we use the old generic model for most of our drivers, but some devices provide their own error estimates - if so, we'll use those instead. Original diff from Diego Berge, with some corrections from me.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gpsd.h b/gpsd.h
index cc7da12c..aa356521 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -386,8 +386,7 @@ extern int gpsd_hexpack(char *, char *, int);
extern int hex2bin(char *);
extern char /*@observer@*/ *gpsd_id(/*@in@*/struct gps_device_t *);
extern void gpsd_position_fix_dump(struct gps_device_t *, /*@out@*/char[], size_t);
-extern void gpsd_error_model(struct gps_device_t *,
- struct gps_fix_t *, struct gps_fix_t *);
+extern void gpsd_error_model_fixup(struct gps_device_t *);
extern void gpsd_clear_data(struct gps_device_t *);
extern int netlib_connectsock(const char *, const char *, const char *);