diff --git a/source_modules/limesdr_source/src/main.cpp b/source_modules/limesdr_source/src/main.cpp index 5f05d203..5f7f4508 100644 --- a/source_modules/limesdr_source/src/main.cpp +++ b/source_modules/limesdr_source/src/main.cpp @@ -319,6 +319,7 @@ private: static void start(void* ctx) { LimeSDRSourceModule* _this = (LimeSDRSourceModule*)ctx; if (_this->running) { return; } + if (_this->selectedDevName.empty()) { return; } // Open device _this->openDev = NULL; @@ -546,4 +547,4 @@ MOD_EXPORT void _DELETE_INSTANCE_(ModuleManager::Instance* instance) { MOD_EXPORT void _END_() { config.disableAutoSave(); config.save(); -} \ No newline at end of file +}