diff options
-rw-r--r-- | lora_pkt_fwd/src/lora_pkt_fwd.c | 2 |
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))) { |