mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-11-04 02:39:11 +01:00 
			
		
		
		
	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?
This commit is contained in:
		@@ -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;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user