summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Reiss <jreiss@multitech.com>2021-03-22 16:01:11 -0500
committerJason Reiss <jreiss@multitech.com>2021-03-22 16:01:11 -0500
commit0fa2488a78bf22d85c3f98f49c23134191657229 (patch)
treeeb8bf2731c921500f756f8b9520f2b3c8fc26e15
parent5027a9f482781186dc95e24c82a1239908362666 (diff)
downloadlora_gateway_mtac_full-0fa2488a78bf22d85c3f98f49c23134191657229.tar.gz
lora_gateway_mtac_full-0fa2488a78bf22d85c3f98f49c23134191657229.tar.bz2
lora_gateway_mtac_full-0fa2488a78bf22d85c3f98f49c23134191657229.zip
Set dig_gain of txpkt to -1 to use gain from the LUT.
-rw-r--r--util_tx_test/src/util_tx_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util_tx_test/src/util_tx_test.c b/util_tx_test/src/util_tx_test.c
index a59e5e5..90d7dec 100644
--- a/util_tx_test/src/util_tx_test.c
+++ b/util_tx_test/src/util_tx_test.c
@@ -682,6 +682,9 @@ int main(int argc, char **argv)
txpkt.invert_pol = invert;
txpkt.preamble = preamb;
txpkt.size = pl_size;
+
+ txpkt.dig_gain = -1;
+
strcpy((char *)txpkt.payload, "TEST**abcdefghijklmnopqrstuvwxyz#0123456789#ABCDEFGHIJKLMNOPQRSTUVWXYZ#0123456789#abcdefghijklmnopqrstuvwxyz#0123456789#ABCDEFGHIJKLMNOPQRSTUVWXYZ#0123456789#abcdefghijklmnopqrstuvwxyz#0123456789#ABCDEFGHIJKLMNOPQRSTUVWXYZ#0123456789#abcdefghijklmnopqrs#" ); /* abc.. is for padding */
/* main loop */