summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2022-01-24 15:44:24 -0600
committerJason Reiss <jreiss@multitech.com>2022-01-24 15:44:24 -0600
commit87bca154a27269191121764568a122f79ce6499a (patch)
tree3ef3e98c70c164cd288cf61e08fe5432cb48567e
parent8ea4d513a828cb1dcda2eb58ddf77b5d0b2dcbb8 (diff)
downloadpacket_forwarder_mtac_full-87bca154a27269191121764568a122f79ce6499a.tar.gz
packet_forwarder_mtac_full-87bca154a27269191121764568a122f79ce6499a.tar.bz2
packet_forwarder_mtac_full-87bca154a27269191121764568a122f79ce6499a.zip
remove out of sync message, not applicable4.0.17
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index 2f34914..33d1a87 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -3557,12 +3557,9 @@ void thread_gps(void) {
/* try to update time reference with the new GPS time & timestamp */
pthread_mutex_lock(&mx_timeref);
- i = lgw_gps_sync(&time_reference_gps, trig_tstamp, gpsdata.fix.time);
+ lgw_gps_sync(&time_reference_gps, trig_tstamp, gpsdata.fix.time);
pthread_mutex_unlock(&mx_timeref);
- if (i != LGW_GPS_SUCCESS) {
- MSG("WARNING: [gps] GPS out of sync, keeping previous time reference\n");
- }
} else {
gps_coord_valid = false;
}