summaryrefslogtreecommitdiff
path: root/recipes-connectivity/lora/lora-gateway/lora-gateway-debug.patch
blob: dba43925d1ebaba37f884048bfb24528a3deb139 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;