diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2018-07-31 15:08:46 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2018-07-31 15:08:46 -0500 |
commit | b55d02b1b9620b2bd736df88d9f987d61b52168d (patch) | |
tree | 28eac67fbf8bb819fbcc40c49b438d9df1429b8b /libloragw/tst | |
parent | e81839dd723cdf8218987e8f7917c12e39c179d8 (diff) | |
download | lora_gateway_mtac_full-b55d02b1b9620b2bd736df88d9f987d61b52168d.tar.gz lora_gateway_mtac_full-b55d02b1b9620b2bd736df88d9f987d61b52168d.tar.bz2 lora_gateway_mtac_full-b55d02b1b9620b2bd736df88d9f987d61b52168d.zip |
Added function to setup fpga attenuation and tx lut variable
Diffstat (limited to 'libloragw/tst')
-rw-r--r-- | libloragw/tst/test_loragw_cal.c | 2 | ||||
-rw-r--r-- | libloragw/tst/test_loragw_reg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libloragw/tst/test_loragw_cal.c b/libloragw/tst/test_loragw_cal.c index 533d189..067c157 100644 --- a/libloragw/tst/test_loragw_cal.c +++ b/libloragw/tst/test_loragw_cal.c @@ -263,7 +263,7 @@ int main(int argc, char **argv) printf("Number of calibration iterations: %d\n",nb_cal); printf("Calibration command: brd: %d, chip: %d, dac: %d\n\n", cal_cmd >> 6, 1257-2*((cal_cmd & 0x20) >> 5), 2+((cal_cmd & 0x10) >> 4)); - x = lgw_connect(false, DEFAULT_TX_NOTCH_FREQ); + x = lgw_connect(false, DEFAULT_TX_NOTCH_FREQ, false); if (x == -1) { printf("ERROR: FAIL TO CONNECT BOARD\n"); return -1; diff --git a/libloragw/tst/test_loragw_reg.c b/libloragw/tst/test_loragw_reg.c index 37a6f5a..2804d5e 100644 --- a/libloragw/tst/test_loragw_reg.c +++ b/libloragw/tst/test_loragw_reg.c @@ -37,7 +37,7 @@ int main() printf("Beginning of test for loragw_reg.c\n"); - lgw_connect(false, 129E3); + lgw_connect(false, 129E3, false); /* 2 SPI transactions: -> 0x80 0x00 <- 0x00 0x00 forcing page 0 -> 0x01 0x00 <- 0x00 0x64 checking version |