From f8fb176ff53ed4ec41bbfdc001e89ad5193eeebc Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 18 Jun 2018 16:34:55 +0200 Subject: [PATCH] soapy: use log-level error to suppress late warning on console --- lib/src/phy/rf/rf_soapy_imp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/src/phy/rf/rf_soapy_imp.c b/lib/src/phy/rf/rf_soapy_imp.c index 80f1b70d1..ef191e119 100644 --- a/lib/src/phy/rf/rf_soapy_imp.c +++ b/lib/src/phy/rf/rf_soapy_imp.c @@ -37,6 +37,7 @@ #include #include #include +#include #include #define USE_TX_MTU 0 @@ -338,6 +339,8 @@ int rf_soapy_open_multi(char *args, void **h, uint32_t nof_rx_antennas) rf_soapy_set_tx_gain(handler, 35); usleep(10000); + SoapySDR_setLogLevel(SOAPY_SDR_ERROR); + return SRSLTE_SUCCESS; }