From 4a262a7c7e76e118cefb0cc7569a9597f230c888 Mon Sep 17 00:00:00 2001 From: Harsh Sharma Date: Tue, 31 Jul 2018 15:19:24 -0500 Subject: Removed FPGA debug messages --- libloragw/src/loragw_fpga.c | 5 ++--- libloragw/src/loragw_hal.c | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'libloragw/src') 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 { diff --git a/libloragw/src/loragw_hal.c b/libloragw/src/loragw_hal.c index 2d958ba..a835aa3 100644 --- a/libloragw/src/loragw_hal.c +++ b/libloragw/src/loragw_hal.c @@ -716,7 +716,6 @@ int lgw_start(void) { if (lgw_is_started == true) { DEBUG_MSG("Note: LoRa concentrator already started, restarting it now\n"); } - printf("Attenuation value %f\n", txgain_lut.lut[0].attenuation); reg_stat = lgw_connect(false, rf_tx_notch_freq[rf_tx_enable[1]?1:0], txgain_lut.lut[0].attenuation > -1.0?true:false); if (reg_stat == LGW_REG_ERROR) { DEBUG_MSG("ERROR: FAIL TO CONNECT BOARD\n"); -- cgit v1.2.3