summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2020-11-12 16:43:43 -0600
committerJason Reiss <jreiss@multitech.com>2020-11-12 16:43:43 -0600
commit3dbb7af1b51b48428e61618d7ab64d303bc7d753 (patch)
treebb61ca37ee28fc4c6a68e69b4bc50f1b987bb1bd
parentfce3ae775ab928b9ed078be766c2a04a07693b36 (diff)
downloadpacket_forwarder_mtac_full-3dbb7af1b51b48428e61618d7ab64d303bc7d753.tar.gz
packet_forwarder_mtac_full-3dbb7af1b51b48428e61618d7ab64d303bc7d753.tar.bz2
packet_forwarder_mtac_full-3dbb7af1b51b48428e61618d7ab64d303bc7d753.zip
Remove periodic LBT restart, LBT issue was found in FPGA code and fixed in v354.0.1-mts-9
-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) {