soapy: use log-level error to suppress late warning on console

master
Andre Puschmann 7 years ago
parent a68758ab0d
commit f8fb176ff5

@ -37,6 +37,7 @@
#include <SoapySDR/Device.h> #include <SoapySDR/Device.h>
#include <SoapySDR/Formats.h> #include <SoapySDR/Formats.h>
#include <SoapySDR/Time.h> #include <SoapySDR/Time.h>
#include <SoapySDR/Logger.h>
#include <Types.h> #include <Types.h>
#define USE_TX_MTU 0 #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); rf_soapy_set_tx_gain(handler, 35);
usleep(10000); usleep(10000);
SoapySDR_setLogLevel(SOAPY_SDR_ERROR);
return SRSLTE_SUCCESS; return SRSLTE_SUCCESS;
} }

Loading…
Cancel
Save