mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-11-10 04:37:37 +01:00
fixed crash when no dev detected 3
This commit is contained in:
parent
e8ae20232a
commit
1a42421d92
@ -237,7 +237,7 @@ void drawWindow() {
|
||||
}
|
||||
}
|
||||
|
||||
if (srId != _srId) {
|
||||
if (srId != _srId && soapy.devList.size() > 0) {
|
||||
_srId = srId;
|
||||
sampleRate = soapy.sampleRates[srId];
|
||||
printf("Setting sample rate to %f\n", (float)soapy.sampleRates[srId]);
|
||||
|
Loading…
Reference in New Issue
Block a user