From fa75a3a1763c53ab2051b3a3b52d77a7812682f9 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Mon, 30 Aug 2021 03:06:40 +0200 Subject: [PATCH] Update main.cpp --- soapy_source/src/main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/soapy_source/src/main.cpp b/soapy_source/src/main.cpp index 0145548..f2dced4 100644 --- a/soapy_source/src/main.cpp +++ b/soapy_source/src/main.cpp @@ -297,11 +297,7 @@ private: SoapyModule* _this = (SoapyModule*)ctx; if (_this->running) { return; } if (_this->devId < 0) { - _this->refresh(); - _this->selectDevice(config.conf["device"]); - if (_this->devId < 0) { - return; - } + return; } _this->dev = SoapySDR::Device::make(_this->devArgs);