diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2006-10-30 16:25:47 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2006-10-30 16:25:47 +0000 |
commit | a6029c84bac42ca8d0e77648b8af8025764eae26 (patch) | |
tree | dc190f92804bceafa0cd7fe01fa27b7afba9ce76 /gpsd.h | |
parent | 4e59d3f0957dc18af087084decbd9ff70af67644 (diff) | |
download | gpsd-a6029c84bac42ca8d0e77648b8af8025764eae26.tar.gz |
Make it possible to disable reconfiguration.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -43,7 +43,10 @@ enum isgpsstat_t { #define RTCM_MAX (RTCM_WORDS_MAX * sizeof(isgps30bits_t)) struct gps_context_t { - int valid; /* member validity flags */ +#ifdef ALLOW_RECONFIGURE + bool enable_reconfigure; /* OK to hack GPS settings? */ +#endif /* ALLOW_RECONFIGURE */ + int valid; /* member validity flags */ #define LEAP_SECOND_VALID 0x01 /* we have or don't need correction */ /* DGPSIP status */ bool sentdgps; /* have we sent a DGPS report? */ |