Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
WINX86 Serial.cpp multibyte char fix (#173)
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/interfaces/WINX86/Serial/Serial.cpp
|
@@ -41,7 +41,7 @@ Serial::Serial( |
|
|
std::wstring com_name_ws = s2ws(commPortName); |
|
|
|
|
|
commHandle = |
|
|
CreateFile( |
|
|
CreateFileW( |
|
|
com_name_ws.c_str(), |
|
|
GENERIC_READ | GENERIC_WRITE, |
|
|
0, |
|
|