mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-07-04 16:08:16 +02:00
Merge pull request #1013 from sergeyvfx/fix_empty_limesdr_crash
Fix crash starting LimeSDR source without device
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user