summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-11 16:06:11 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-11 16:06:11 +0000
commitf55757cf2dabd99e75895a2808763dc9098b963e (patch)
tree28297c24f6aacf8b4c10606e13b317fba3865120 /gps.h
parent72f71599cb2175603f39625f09e6339362be4d4e (diff)
downloadgpsd-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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gps.h b/gps.h
index fbb12e84..1440ea9e 100644
--- a/gps.h
+++ b/gps.h
@@ -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);