summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-gateway
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2018-07-17 14:06:21 -0500
committerJason Reiss <jreiss@multitech.com>2018-07-17 14:06:21 -0500
commit1bf218bf284540382831eaf4e347e5e8e72cfbca (patch)
treefd430ea0bebd883dbe8dd8c809f6a9454fc36d56 /recipes-connectivity/lora/lora-gateway
parente8f1fabebe0992936496bff1910c1df4f2fe20b8 (diff)
downloadmeta-mlinux-1bf218bf284540382831eaf4e347e5e8e72cfbca.tar.gz
meta-mlinux-1bf218bf284540382831eaf4e347e5e8e72cfbca.tar.bz2
meta-mlinux-1bf218bf284540382831eaf4e347e5e8e72cfbca.zip
lora: update spectral scan to skip FPGA reset for v31
Diffstat (limited to 'recipes-connectivity/lora/lora-gateway')
-rw-r--r--recipes-connectivity/lora/lora-gateway/lora-gateway-spectral-scan-skip-fpga-reset.patch14
1 files changed, 14 insertions, 0 deletions
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;
+