Skip to content

Commit

Permalink
WINX86 Serial.cpp multibyte char fix (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
gioblu committed Mar 25, 2018
1 parent 199a566 commit 5c58e94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/WINX86/Serial/Serial.cpp
Expand Up @@ -41,7 +41,7 @@ Serial::Serial(
std::wstring com_name_ws = s2ws(commPortName); std::wstring com_name_ws = s2ws(commPortName);


commHandle = commHandle =
CreateFile( CreateFileW(
com_name_ws.c_str(), com_name_ws.c_str(),
GENERIC_READ | GENERIC_WRITE, GENERIC_READ | GENERIC_WRITE,
0, 0,
Expand Down

0 comments on commit 5c58e94

Please sign in to comment.