mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	android/usb: stop adding the obsolete 'usb-serial' connection
The code that supported this has now been replaced by the USB device selection code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									ec3a968df9
								
							
						
					
					
						commit
						ae42b7ceb0
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		|  | @ -88,9 +88,7 @@ int main(int argc, char **argv) | ||||||
| 
 | 
 | ||||||
| void set_non_bt_addresses() | void set_non_bt_addresses() | ||||||
| { | { | ||||||
| #if defined(Q_OS_ANDROID) | #if defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android
 | ||||||
| 	connectionListModel.addAddress("usb-serial"); /* obsolete, can be removed when the new USB device selection is implemented. */ |  | ||||||
| #elif defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android
 |  | ||||||
| 	connectionListModel.addAddress("/dev/ttyS0"); | 	connectionListModel.addAddress("/dev/ttyS0"); | ||||||
| 	connectionListModel.addAddress("/dev/ttyS1"); | 	connectionListModel.addAddress("/dev/ttyS1"); | ||||||
| 	connectionListModel.addAddress("/dev/ttyS2"); | 	connectionListModel.addAddress("/dev/ttyS2"); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue