mirror of https://github.com/PentHertz/srsLTE.git
soapy: use log-level error to suppress late warning on console
This commit is contained in:
parent
a68758ab0d
commit
f8fb176ff5
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue