diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2007-01-27 07:27:42 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2007-01-27 07:27:42 +0000 |
commit | 067072633930483e8de71a87d329c35ae7229597 (patch) | |
tree | 1401571dec0adb0d1d164b57ceaf9b2802de7c3e /gpsd.h | |
parent | 68397cc87ed96ca75e1aabfc84a9d5c7dfca3f61 (diff) | |
download | gpsd-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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 *); |