diff options
author | Jason Reiss <jreiss@multitech.com> | 2020-03-20 09:11:25 -0500 |
---|---|---|
committer | Jason Reiss <jreiss@multitech.com> | 2020-03-20 09:11:25 -0500 |
commit | ea028e8048d55367a52365087f9e3928746c55a5 (patch) | |
tree | d3c28fb745071653bcf35bff7f05c93051796390 /libloragw/src/loragw_gps.c | |
parent | b3a4461b3dfc5588111a88fd735d058888b8d3d4 (diff) | |
parent | dea57d6f29246434173c33c56850708c51fc5b23 (diff) | |
download | lora_gateway_mtac_full-ea028e8048d55367a52365087f9e3928746c55a5.tar.gz lora_gateway_mtac_full-ea028e8048d55367a52365087f9e3928746c55a5.tar.bz2 lora_gateway_mtac_full-ea028e8048d55367a52365087f9e3928746c55a5.zip |
Merge branch 'master' of gitlab.multitech.net:lora_enterprise/lora_gateway_mtac_full5.0.1-mts-5
Diffstat (limited to 'libloragw/src/loragw_gps.c')
-rw-r--r-- | libloragw/src/loragw_gps.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libloragw/src/loragw_gps.c b/libloragw/src/loragw_gps.c index 3aad031..19c2f83 100644 --- a/libloragw/src/loragw_gps.c +++ b/libloragw/src/loragw_gps.c @@ -89,8 +89,6 @@ static bool gps_lock_ok = false; static char gps_mod = 'N'; /* GPS mode (N no fix, A autonomous, D differential) */ static short gps_sat = 0; /* number of satellites used for fix */ -static struct termios ttyopt_restore; - /* -------------------------------------------------------------------------- */ /* --- PRIVATE FUNCTIONS DECLARATION ---------------------------------------- */ @@ -255,7 +253,6 @@ int str_chop(char *s, int buff_size, char separator, int *idx_ary, int max_idx) int lgw_gps_enable(struct gps_data_t *gpsdata, struct fixsource_t *source) { unsigned int flags; - fd_set fds; flags = WATCH_ENABLE; flags |= WATCH_RAW; flags |= WATCH_NMEA; |