mirror of https://github.com/PentHertz/srsLTE.git
fix bug in rf_imp
- set thread gain run variable to false by default
This commit is contained in:
parent
ef544e64c2
commit
7343453e25
|
@ -103,6 +103,7 @@ const char* srslte_rf_get_devname(srslte_rf_t *rf) {
|
|||
}
|
||||
|
||||
int srslte_rf_open_devname(srslte_rf_t *rf, char *devname, char *args, uint32_t nof_channels) {
|
||||
rf->thread_gain_run = false;
|
||||
/* Try to open the device if name is provided */
|
||||
if (devname) {
|
||||
if (devname[0] != '\0') {
|
||||
|
|
Loading…
Reference in New Issue