From 1bf218bf284540382831eaf4e347e5e8e72cfbca Mon Sep 17 00:00:00 2001 From: Jason Reiss Date: Tue, 17 Jul 2018 14:06:21 -0500 Subject: lora: update spectral scan to skip FPGA reset for v31 --- .../lora-gateway-spectral-scan-skip-fpga-reset.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 recipes-connectivity/lora/lora-gateway/lora-gateway-spectral-scan-skip-fpga-reset.patch (limited to 'recipes-connectivity/lora/lora-gateway') diff --git a/recipes-connectivity/lora/lora-gateway/lora-gateway-spectral-scan-skip-fpga-reset.patch b/recipes-connectivity/lora/lora-gateway/lora-gateway-spectral-scan-skip-fpga-reset.patch new file mode 100644 index 0000000..6e64ea6 --- /dev/null +++ b/recipes-connectivity/lora/lora-gateway/lora-gateway-spectral-scan-skip-fpga-reset.patch @@ -0,0 +1,14 @@ +diff --git a/util_spectral_scan/src/util_spectral_scan.c b/util_spectral_scan/src/util_spectral_scan.c +index d2aecda..f070f4b 100644 +--- a/util_spectral_scan/src/util_spectral_scan.c ++++ b/util_spectral_scan/src/util_spectral_scan.c +@@ -264,7 +264,7 @@ int main( int argc, char ** argv ) + printf("ERROR: Failed to disconnect from FPGA\n"); + return EXIT_FAILURE; + } +- x = lgw_connect(false, LGW_DEFAULT_NOTCH_FREQ); /* FPGA reset/configure */ ++ x = lgw_connect(true, LGW_DEFAULT_NOTCH_FREQ); /* FPGA reset/configure */ + if(x != 0) { + printf("ERROR: Failed to connect to FPGA\n"); + return EXIT_FAILURE; + -- cgit v1.2.3