kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Made the code more useful to the user
maybe just yeeting out of the start function with no indication to the user is a bad idea?pull/1021/head
rodzic
90c26f8c1b
commit
9a3414b847
|
@ -330,7 +330,8 @@ private:
|
|||
if (err) {
|
||||
LMS_Close(_this->openDev);
|
||||
LMS_Open(&_this->openDev, _this->devList[_this->devId], NULL);
|
||||
if (LMS_Init(_this->openDev) != 0) {
|
||||
if (err = LMS_Init(_this->openDev)) {
|
||||
flog::error("Failed to re-initialize device ({})", err);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue