fix bug in rf_imp

- set thread gain run variable to false by default
master
Andre Puschmann 6 years ago
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) { 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 */ /* Try to open the device if name is provided */
if (devname) { if (devname) {
if (devname[0] != '\0') { if (devname[0] != '\0') {

Loading…
Cancel
Save