kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
fixed crash when no dev detected
rodzic
0dc14c663a
commit
3216daec2b
|
@ -11,6 +11,9 @@ namespace io {
|
||||||
output.init(64000);
|
output.init(64000);
|
||||||
currentGains = new float[1];
|
currentGains = new float[1];
|
||||||
refresh();
|
refresh();
|
||||||
|
if (devList.size() == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
setDevice(devList[0]);
|
setDevice(devList[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue