summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}