Added error message

This commit is contained in:
AlexandreRouma
2021-08-30 03:07:36 +02:00
committed by GitHub
parent fa75a3a176
commit c31e260425

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;
}