fix multiple device enumeration
This commit is contained in:
parent
ca851add76
commit
3241106bf7
|
@ -125,6 +125,8 @@ void SDRThread::threadMain() {
|
||||||
std::vector<SDRDeviceInfo *> devs;
|
std::vector<SDRDeviceInfo *> devs;
|
||||||
if (deviceId == -1) {
|
if (deviceId == -1) {
|
||||||
deviceId = enumerate_rtl(&devs);
|
deviceId = enumerate_rtl(&devs);
|
||||||
|
} else {
|
||||||
|
enumerate_rtl(&devs);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (deviceId == -1) {
|
if (deviceId == -1) {
|
||||||
|
|
Loading…
Reference in New Issue