summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-11-08 15:20:55 -0600
committerJason Reiss <jreiss@multitech.com>2016-11-08 15:20:55 -0600
commitfb8a4478dfaf022425f6abae4ecf12f19b8f5fd4 (patch)
treebc7c4d1b1114d4ef1766f9ac7686d77e99ce61fe /recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch
parentee217a635372481fe3dc1c5d23d3ee1706da2ab2 (diff)
downloadmeta-mlinux-fb8a4478dfaf022425f6abae4ecf12f19b8f5fd4.tar.gz
meta-mlinux-fb8a4478dfaf022425f6abae4ecf12f19b8f5fd4.tar.bz2
meta-mlinux-fb8a4478dfaf022425f6abae4ecf12f19b8f5fd4.zip
add patch for gateway util_tx_continuous clksrc
Diffstat (limited to 'recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch')
-rw-r--r--recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch b/recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch
new file mode 100644
index 0000000..bdc05ad
--- /dev/null
+++ b/recipes-connectivity/lora/lora-gateway/lora-gateway-change-util-tx-continuous-clksrc.patch
@@ -0,0 +1,13 @@
+diff --git a/util_tx_continuous/src/util_tx_continuous.c b/util_tx_continuous/src/util_tx_continuous.c
+index 31f45ac..f9cf033 100644
+--- a/util_tx_continuous/src/util_tx_continuous.c
++++ b/util_tx_continuous/src/util_tx_continuous.c
+@@ -297,7 +297,7 @@ int main(int argc, char **argv)
+ /* Board config */
+ memset(&boardconf, 0, sizeof(boardconf));
+ boardconf.lorawan_public = true;
+- boardconf.clksrc = 1; /* Radio B is source by default */
++ boardconf.clksrc = 0; /* Radio B is source by default */
+ lgw_board_setconf(boardconf);
+
+ /* RF config */