mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 02:18:30 +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);
|
||||
currentGains = new float[1];
|
||||
refresh();
|
||||
if (devList.size() == 0) {
|
||||
return;
|
||||
}
|
||||
setDevice(devList[0]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user