mirror of
				https://github.com/AlexandreRouma/SDRPlusPlus.git
				synced 2025-10-31 00:48:11 +01:00 
			
		
		
		
	fix crash when USRP has two frontends named the same
This commit is contained in:
		| @@ -111,7 +111,7 @@ public: | ||||
|         channels.clear(); | ||||
|         auto subdevs = dev->get_rx_subdev_spec(); | ||||
|         for (int i = 0; i < subdevs.size(); i++) { | ||||
|             std::string slot = subdevs[i].db_name; | ||||
|             std::string slot = subdevs[i].db_name + ',' + subdevs[i].sd_name; | ||||
|             sprintf(buf, "%s [%s]", dev->get_rx_subdev_name(i).c_str(), slot.c_str()); | ||||
|             channels.define(buf, buf, buf); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user