summaryrefslogtreecommitdiff
path: root/libloragw/tst/test_loragw_gps.c
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-03-20 09:11:25 -0500
committerJason Reiss <jreiss@multitech.com>2020-03-20 09:11:25 -0500
commitea028e8048d55367a52365087f9e3928746c55a5 (patch)
treed3c28fb745071653bcf35bff7f05c93051796390 /libloragw/tst/test_loragw_gps.c
parentb3a4461b3dfc5588111a88fd735d058888b8d3d4 (diff)
parentdea57d6f29246434173c33c56850708c51fc5b23 (diff)
downloadlora_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/tst/test_loragw_gps.c')
-rw-r--r--libloragw/tst/test_loragw_gps.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libloragw/tst/test_loragw_gps.c b/libloragw/tst/test_loragw_gps.c
index 6e644f8..fd8c61b 100644
--- a/libloragw/tst/test_loragw_gps.c
+++ b/libloragw/tst/test_loragw_gps.c
@@ -146,11 +146,9 @@ int main()
/* serial variables */
char serial_buff[128]; /* buffer to receive GPS data */
- size_t wr_idx = 0; /* pointer to end of chars in buffer */
- int gps_tty_dev; /* file descriptor to the serial port of the GNSS module */
/* NMEA/UBX variables */
- enum gps_msg latest_msg; /* keep track of latest NMEA/UBX message parsed */
+ enum gps_msg latest_msg = UNKNOWN; /* keep track of latest NMEA/UBX message parsed */
fd_set fds;
char delim[4] = "$";