mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-02-03 21:34:44 +01:00
Update main.cpp
This commit is contained in:
parent
49fd49b4d6
commit
fa75a3a176
@ -297,11 +297,7 @@ private:
|
|||||||
SoapyModule* _this = (SoapyModule*)ctx;
|
SoapyModule* _this = (SoapyModule*)ctx;
|
||||||
if (_this->running) { return; }
|
if (_this->running) { return; }
|
||||||
if (_this->devId < 0) {
|
if (_this->devId < 0) {
|
||||||
_this->refresh();
|
return;
|
||||||
_this->selectDevice(config.conf["device"]);
|
|
||||||
if (_this->devId < 0) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_this->dev = SoapySDR::Device::make(_this->devArgs);
|
_this->dev = SoapySDR::Device::make(_this->devArgs);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user