mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-24 00:34:44 +01:00
Merge pull request #1013 from sergeyvfx/fix_empty_limesdr_crash
Fix crash starting LimeSDR source without device
This commit is contained in:
commit
19247ef4f2
@ -319,6 +319,7 @@ private:
|
|||||||
static void start(void* ctx) {
|
static void start(void* ctx) {
|
||||||
LimeSDRSourceModule* _this = (LimeSDRSourceModule*)ctx;
|
LimeSDRSourceModule* _this = (LimeSDRSourceModule*)ctx;
|
||||||
if (_this->running) { return; }
|
if (_this->running) { return; }
|
||||||
|
if (_this->selectedDevName.empty()) { return; }
|
||||||
|
|
||||||
// Open device
|
// Open device
|
||||||
_this->openDev = NULL;
|
_this->openDev = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user