diff options
author | Harsh Sharma <harsh.sharma@multitech.com> | 2018-08-09 15:10:43 -0500 |
---|---|---|
committer | Harsh Sharma <harsh.sharma@multitech.com> | 2018-08-09 15:10:43 -0500 |
commit | 1e66084295f37f0d7f5f0a3518e43ae0cc613898 (patch) | |
tree | 3b6fcae715309aeec4f39c2b59f5945a18542c18 /libloragw/tst/test_loragw_cal.c | |
parent | 4a262a7c7e76e118cefb0cc7569a9597f230c888 (diff) | |
download | lora_gateway_mtac_full-1e66084295f37f0d7f5f0a3518e43ae0cc613898.tar.gz lora_gateway_mtac_full-1e66084295f37f0d7f5f0a3518e43ae0cc613898.tar.bz2 lora_gateway_mtac_full-1e66084295f37f0d7f5f0a3518e43ae0cc613898.zip |
Changed attenuation setup to be the difference between the LUT power and the tx packet power and make it automatically set
Diffstat (limited to 'libloragw/tst/test_loragw_cal.c')
-rw-r--r-- | libloragw/tst/test_loragw_cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libloragw/tst/test_loragw_cal.c b/libloragw/tst/test_loragw_cal.c index 067c157..533d189 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, false); + x = lgw_connect(false, DEFAULT_TX_NOTCH_FREQ); if (x == -1) { printf("ERROR: FAIL TO CONNECT BOARD\n"); return -1; |