diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-11 16:06:11 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-11 16:06:11 +0000 |
commit | f55757cf2dabd99e75895a2808763dc9098b963e (patch) | |
tree | 28297c24f6aacf8b4c10606e13b317fba3865120 /gps.h | |
parent | 72f71599cb2175603f39625f09e6339362be4d4e (diff) | |
download | gpsd-f55757cf2dabd99e75895a2808763dc9098b963e.tar.gz |
J command and switch are gone.
Now that we have reliable end-of-cycle detection in NMEA, we can always
clear the fixbuffer at start of cycle and accumulate data until we
transmit at end of cycle. Accordingly, there is no longer any bneed
for users to choose between jittery-but-correct and buffered-but-laggy
reports. Accordingly, the daemon 'J' command is no longer necessary.
All the client side options and commands connected with it can go away too.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -845,7 +845,6 @@ struct devconfig_t { struct policy_t { bool watcher; /* is watcher mode on? */ int raw; /* dump raw data? */ - enum {casoc=0, nocasoc=1} buffer_policy; /* buffering policy */ bool scaled; /* perform report scaling? */ }; @@ -969,8 +968,7 @@ struct gps_data_t { #define WATCH_DISABLE 0x00u #define WATCH_ENABLE 0x01u #define WATCH_RAW 0x02u -#define WATCH_NOJITTER 0x04u -#define WATCH_SCALED 0x08u +#define WATCH_SCALED 0x04u #define WATCH_NEWSTYLE 0x10u /* for test purposes only - will go away */ extern /*@null@*/ struct gps_data_t *gps_open(const char *host, const char *port); |