summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2016-10-14 10:05:23 -0500
committerBrandon Bayer <bbayer@multitech.com>2016-10-18 16:37:18 -0500
commit8000c124387080ddf9cb8b64402eb93961a531a6 (patch)
tree16401d2af380562299fc1a6dc05dc62db78c7190 /recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch
parentc0c3d4e1eac3943988e71e6fe8606be2c73ccb1d (diff)
downloadmeta-mlinux-8000c124387080ddf9cb8b64402eb93961a531a6.tar.gz
meta-mlinux-8000c124387080ddf9cb8b64402eb93961a531a6.tar.bz2
meta-mlinux-8000c124387080ddf9cb8b64402eb93961a531a6.zip
lora: move old usb packet forwarder and library utilities to new recipes
add spi device path option to packet forwarder and library
Diffstat (limited to 'recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch')
-rw-r--r--recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch b/recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch
new file mode 100644
index 0000000..dba4392
--- /dev/null
+++ b/recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch
@@ -0,0 +1,13 @@
+Index: git/libloragw/src/loragw_hal.c
+===================================================================
+--- git.orig/libloragw/src/loragw_hal.c 2014-12-16 16:07:20.812506157 -0600
++++ git/libloragw/src/loragw_hal.c 2014-12-16 16:18:34.427454833 -0600
+@@ -1626,6 +1626,8 @@
+ break;
+ }
+ }
++
++ DEBUG_PRINTF("DEBUG: Tx pow_index %d, rf_power %d\n", pow_index, tx_pow_table[pow_index].rf_power);
+
+ /* loading TX imbalance correction */
+ target_mix_gain = tx_pow_table[pow_index].mix_gain;