Added error message

This commit is contained in:
AlexandreRouma 2021-08-30 03:07:36 +02:00 committed by GitHub
parent fa75a3a176
commit c31e260425
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -297,6 +297,7 @@ private:
SoapyModule* _this = (SoapyModule*)ctx;
if (_this->running) { return; }
if (_this->devId < 0) {
spdlog::error("No device available");
return;
}