summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lora_pkt_fwd/src/lora_pkt_fwd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lora_pkt_fwd/src/lora_pkt_fwd.c b/lora_pkt_fwd/src/lora_pkt_fwd.c
index 3d89486..e72671f 100644
--- a/lora_pkt_fwd/src/lora_pkt_fwd.c
+++ b/lora_pkt_fwd/src/lora_pkt_fwd.c
@@ -1753,15 +1753,6 @@ int main(int argc, char** argv)
printf("# SX1301 time (PPS): %u %u\n", trig_tstamp, page);
}
- static uint32_t last_tstamp = 0;
- if (lbt_enabled && trig_tstamp < last_tstamp) {
- printf("# Restarting LBT\n");
- lgw_fpga_reg_w(LGW_FPGA_CTRL_FEATURE_START, 0);
- wait_ms(5);
- lgw_fpga_reg_w(LGW_FPGA_CTRL_FEATURE_START, 1);
- }
- last_tstamp = trig_tstamp;
-
jit_print_queue (&jit_queue, false, DEBUG_LOG);
printf("### [GPS] ###\n");
if (gps_enabled == true) {