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

This commit is contained in:
Andre Puschmann 2018-06-18 16:34:55 +02:00
parent a68758ab0d
commit f8fb176ff5
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#include <SoapySDR/Device.h>
#include <SoapySDR/Formats.h>
#include <SoapySDR/Time.h>
#include <SoapySDR/Logger.h>
#include <Types.h>
#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;
}