summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2022-01-24 12:27:07 -0600
committerJason Reiss <jreiss@multitech.com>2022-01-24 12:27:07 -0600
commit8ea4d513a828cb1dcda2eb58ddf77b5d0b2dcbb8 (patch)
treec3196ccc5fa901bf9e0a2e44da031e90c671d445
parent857e83833cadd1365e4a4f284200cdb900bd8eed (diff)
downloadpacket_forwarder_mtac_full-8ea4d513a828cb1dcda2eb58ddf77b5d0b2dcbb8.tar.gz
packet_forwarder_mtac_full-8ea4d513a828cb1dcda2eb58ddf77b5d0b2dcbb8.tar.bz2
packet_forwarder_mtac_full-8ea4d513a828cb1dcda2eb58ddf77b5d0b2dcbb8.zip
fix syntax error4.0.16
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index 193ef57..2f34914 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -2853,7 +2853,7 @@ void thread_down(void) {
while (beacon_loop && (beacon_period != 0)) {
pthread_mutex_lock(&mx_timeref);
/* Wait for GPS to be ready before inserting beacons in JiT queue */
- if ((gps_ref_valid == true) && (int)difftimespec(recv_time, start_time) > 32)) {
+ if ((gps_ref_valid == true) && (int)difftimespec(recv_time, start_time) > 32) {
if (time_reference_gps.gps.tv_sec < last_beacon_gps_time.tv_sec + 128 ||
(time_reference_gps.gps.tv_sec - last_beacon_gps_time.tv_sec) > (time_t)(beacon_period * (JIT_NUM_BEACON_IN_QUEUE+1))) {