mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-26 10:58:29 +01:00
fixed crash when no dev detected
This commit is contained in:
parent
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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user