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