mirror of
				https://github.com/davidgiven/fluxengine.git
				synced 2025-10-24 11:11:02 -07:00 
			
		
		
		
	Merge pull request #394 from hharte/fixserial
Windows: Support serial ports > COM9
This commit is contained in:
		| @@ -18,8 +18,9 @@ | ||||
| 	public: | ||||
| 		SerialPortImpl(const std::string& name) | ||||
| 		{ | ||||
| 			std::string dos_name = "\\\\.\\" + name; | ||||
| 			_handle = CreateFileA( | ||||
| 				name.c_str(), | ||||
| 				dos_name.c_str(), | ||||
| 				/* dwDesiredAccess= */ GENERIC_READ|GENERIC_WRITE, | ||||
| 				/* dwShareMode= */ 0, | ||||
| 				/* lpSecurityAttribues= */ nullptr, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user