summaryrefslogtreecommitdiff
path: root/libloragw/tst
diff options
context:
space:
mode:
Diffstat (limited to 'libloragw/tst')
-rw-r--r--libloragw/tst/test_loragw_cal.c2
-rw-r--r--libloragw/tst/test_loragw_reg.c2
2 files changed, 2 insertions, 2 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;
diff --git a/libloragw/tst/test_loragw_reg.c b/libloragw/tst/test_loragw_reg.c
index 2804d5e..37a6f5a 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, false);
+ lgw_connect(false, 129E3);
/* 2 SPI transactions:
-> 0x80 0x00 <- 0x00 0x00 forcing page 0
-> 0x01 0x00 <- 0x00 0x64 checking version