summaryrefslogtreecommitdiff
path: root/libloragw/src/loragw_fpga.c
diff options
context:
space:
mode:
authorHarsh Sharma <harsh.sharma@multitech.com>2018-07-31 15:19:24 -0500
committerHarsh Sharma <harsh.sharma@multitech.com>2018-07-31 15:19:24 -0500
commit4a262a7c7e76e118cefb0cc7569a9597f230c888 (patch)
tree15650bb962d5c597ede3e0999bbc9137c0d0ad7e /libloragw/src/loragw_fpga.c
parentb14e4fe164a3d249ab6d8eec744a14c0e0086d86 (diff)
downloadlora_gateway_mtac_full-4a262a7c7e76e118cefb0cc7569a9597f230c888.tar.gz
lora_gateway_mtac_full-4a262a7c7e76e118cefb0cc7569a9597f230c888.tar.bz2
lora_gateway_mtac_full-4a262a7c7e76e118cefb0cc7569a9597f230c888.zip
Removed FPGA debug messages
Diffstat (limited to 'libloragw/src/loragw_fpga.c')
-rw-r--r--libloragw/src/loragw_fpga.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libloragw/src/loragw_fpga.c b/libloragw/src/loragw_fpga.c
index c2cb305..1379679 100644
--- a/libloragw/src/loragw_fpga.c
+++ b/libloragw/src/loragw_fpga.c
@@ -177,12 +177,11 @@ int lgw_fpga_configure(uint32_t tx_notch_freq, bool fpga_attn_used) {
}
/* Set Attenuator mode to be used or not depending on if a full card with valid conf settings are given*/
if (fpga_version == 32) {
- printf("INFO: Full Card with FPGA version %u detected\n", fpga_version);
if (fpga_attn_used == true) {
lgw_reg_w(LGW_FPGA_RF_ATTN_MODE, 0);
- printf("INFO: Valid config detected. Using Attenuator mode\n");
+ printf("INFO: Valid attenuation settings detected. Using Attenuator mode\n");
} else {
- printf("INFO: Invalid config detected. Using Legacy mode\n");
+ printf("INFO: Valid attenuation settings not detected. Using Legacy mode\n");
lgw_reg_w(LGW_FPGA_RF_ATTN_MODE, 1);
}
} else {