fix bug in rf_imp

- set thread gain run variable to false by default
This commit is contained in:
Andre Puschmann 2019-01-30 17:20:38 +01:00
parent ef544e64c2
commit 7343453e25
1 changed files with 1 additions and 0 deletions

View File

@ -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') {