fix multiple device enumeration

This commit is contained in:
Charles J. Cliffe 2015-04-21 23:50:51 -04:00
parent ca851add76
commit 3241106bf7

View File

@ -125,6 +125,8 @@ void SDRThread::threadMain() {
std::vector<SDRDeviceInfo *> devs;
if (deviceId == -1) {
deviceId = enumerate_rtl(&devs);
} else {
enumerate_rtl(&devs);
}
if (deviceId == -1) {