mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-10-09 23:40:50 +02:00
Better check
Need to check if a device is actually selected, not just if there is one to select
This commit is contained in:
@@ -319,7 +319,7 @@ private:
|
||||
static void start(void* ctx) {
|
||||
LimeSDRSourceModule* _this = (LimeSDRSourceModule*)ctx;
|
||||
if (_this->running) { return; }
|
||||
if (_this->devCount == 0) { return; }
|
||||
if (_this->selectedDevName.empty()) { return; }
|
||||
|
||||
// Open device
|
||||
_this->openDev = NULL;
|
||||
|
Reference in New Issue
Block a user