summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-gateway-usb/lora-gateway-debug.patch
diff options
context:
space:
mode:
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;