mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 04:50:29 -04:00 
			
		
		
		
	AudioCATSISO: accept ttyS* serial ports for CAT. Fixes #2420
This commit is contained in:
		
							parent
							
								
									77b2b815b8
								
							
						
					
					
						commit
						1c8d7bdaf1
					
				| @ -627,7 +627,7 @@ void AudioCATSISO::listComPorts() | |||||||
| { | { | ||||||
|     m_comPorts.clear(); |     m_comPorts.clear(); | ||||||
|     std::vector<std::string> comPorts; |     std::vector<std::string> comPorts; | ||||||
|     SerialUtil::getComPorts(comPorts, "tty(USB|ACM)[0-9]+"); // regex is for Linux only
 |     SerialUtil::getComPorts(comPorts, "tty(S|USB|ACM)[0-9]+"); // regex is for Linux only
 | ||||||
| 
 | 
 | ||||||
|     for (std::vector<std::string>::const_iterator it = comPorts.begin(); it != comPorts.end(); ++it) { |     for (std::vector<std::string>::const_iterator it = comPorts.begin(); it != comPorts.end(); ++it) { | ||||||
|         m_comPorts.push_back(QString(it->c_str())); |         m_comPorts.push_back(QString(it->c_str())); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user