mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-11 10:47:11 +01:00
Fix crash starting LimeSDR source without device
This change fixes crash when a LimeSDR source is started without an actual device selected.
This commit is contained in:
parent
ab2aee316c
commit
ae1fd87f02
@ -319,6 +319,7 @@ private:
|
||||
static void start(void* ctx) {
|
||||
LimeSDRSourceModule* _this = (LimeSDRSourceModule*)ctx;
|
||||
if (_this->running) { return; }
|
||||
if (_this->devCount == 0) { return; }
|
||||
|
||||
// Open device
|
||||
_this->openDev = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user