summaryrefslogtreecommitdiff
path: root/loragw_hal/test/test_loragw_hal.c
diff options
context:
space:
mode:
authorSylvain Miermont <smiermont@semtech.com>2013-07-04 17:03:46 +0200
committerSylvain Miermont <smiermont@semtech.com>2013-10-23 10:40:07 +0200
commitfea7eef3bd031874a7c38064597e64d7b1f821c3 (patch)
tree38219a9a2ad63e6338168f430b46ce2827071993 /loragw_hal/test/test_loragw_hal.c
parent1361e7215cd0eb3b38faff1c403cb3077e41b2be (diff)
downloadlora_gateway-fea7eef3bd031874a7c38064597e64d7b1f821c3.tar.gz
lora_gateway-fea7eef3bd031874a7c38064597e64d7b1f821c3.tar.bz2
lora_gateway-fea7eef3bd031874a7c38064597e64d7b1f821c3.zip
Beta 1v1.b1
- added code for ppm_offset management (activated when symbol length > 16 ms) - removed temporarily TX polarity management - added macro for variable checking (range and/or valid symbolic value) - renamed variables & macros
Diffstat (limited to 'loragw_hal/test/test_loragw_hal.c')
-rw-r--r--loragw_hal/test/test_loragw_hal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/loragw_hal/test/test_loragw_hal.c b/loragw_hal/test/test_loragw_hal.c
index fc7964c..c479e0c 100644
--- a/loragw_hal/test/test_loragw_hal.c
+++ b/loragw_hal/test/test_loragw_hal.c
@@ -152,7 +152,6 @@ int main(int argc, char **argv)
txs.coderate = CR_LORA_4_5;
txs.payload = "TX.TEST.LORA.GATEWAY";
txs.size = 20;
- txs.invert_pol = false;
/* connect, configure and start the Lora gateway */
lgw_start();
@@ -226,7 +225,7 @@ int main(int argc, char **argv)
}
/* send a packet every X loop */
- if (tx_cnt >= 5) {
+ if (tx_cnt >= 32) {
tx_cnt = 0;
txs.rf_chain = tx_path; /* alternate between path A and B */