diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-03-30 16:18:16 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-03-30 16:18:16 -0400 |
commit | 8e556eec6477b65dc32eff7e685ae83028bd418a (patch) | |
tree | e70f27d6b5ece6508ce9b30f251e5282d7f7f226 | |
parent | 4044f1bffb8e146dd984a5f866ad61191f6b658a (diff) | |
download | gpsd-8e556eec6477b65dc32eff7e685ae83028bd418a.tar.gz |
Using WATCH_NEWSTYLE makes a poor example now that NEWSTYLE is the default.
-rw-r--r-- | cgps.c | 2 | ||||
-rw-r--r-- | gpxlogger.c | 2 | ||||
-rw-r--r-- | lcdgps.c | 2 | ||||
-rw-r--r-- | xgpsspeed.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -830,7 +830,7 @@ int main(int argc, char *argv[]) status_timer = time(NULL); - (void)gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL); + (void)gps_stream(gpsdata, WATCH_ENABLE, NULL); /* heart of the client */ for (;;) { diff --git a/gpxlogger.c b/gpxlogger.c index 8bd71173..a936f1dc 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -305,7 +305,7 @@ static int socket_mainloop(void) } gps_set_raw_hook(gpsdata, process); - gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL); + gps_stream(gpsdata, WATCH_ENABLE, NULL); for(;;) { int data; @@ -521,7 +521,7 @@ int main(int argc, char *argv[]) /* Here's where updates go. */ gps_set_raw_hook(gpsdata, update_lcd); - gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL); + gps_stream(gpsdata, WATCH_ENABLE, NULL); for (;;) { /* heart of the client */ diff --git a/xgpsspeed.c b/xgpsspeed.c index c9b7d622..81d7e2d1 100644 --- a/xgpsspeed.c +++ b/xgpsspeed.c @@ -176,7 +176,7 @@ int main(int argc, char **argv) gps_set_raw_hook(gpsdata, update_display); - (void)gps_stream(gpsdata, WATCH_ENABLE|WATCH_NEWSTYLE, NULL); + (void)gps_stream(gpsdata, WATCH_ENABLE, NULL); (void)XtAppMainLoop(app); |