mirror of
				https://github.com/RangeNetworks/openbts.git
				synced 2025-11-04 05:43:14 +00:00 
			
		
		
		
	transceiver, uhd: display device information on make failure
The failure "UHD make failed" implies that a suitable device was found, but construction failed. Output the the found target device information along with message. Signed-off-by: Thomas Tsou <ttsou@vt.edu> git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@3181 19bc5d8c-e614-43d4-8b26-e1612bc8e597
This commit is contained in:
		@@ -440,7 +440,7 @@ bool uhd_device::open()
 | 
			
		||||
	try {
 | 
			
		||||
		usrp_dev = uhd::usrp::multi_usrp::make(dev_addrs[0]);
 | 
			
		||||
	} catch(...) {
 | 
			
		||||
		LOG(ALERT) << "UHD make failed";
 | 
			
		||||
		LOG(ALARM) << "UHD make failed, device " << dev_addrs[0].to_string();
 | 
			
		||||
		return false;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user