mirror of
https://gitea.tendokyu.moe/TeamTofuShop/capnhook.git
synced 2026-09-22 22:38:12 +03:00
Merge pull request #1 from akechi-haruka/serialhook
serial: fix flow flags
This commit is contained in:
+2
-2
@@ -544,12 +544,12 @@ static BOOL WINAPI my_SetCommState(HANDLE fd, const DCB *dcb)
|
||||
break;
|
||||
|
||||
case RTS_CONTROL_ENABLE:
|
||||
handflow.ControlHandShake |= SERIAL_RTS_CONTROL;
|
||||
handflow.FlowReplace |= SERIAL_RTS_CONTROL;
|
||||
|
||||
break;
|
||||
|
||||
case RTS_CONTROL_HANDSHAKE:
|
||||
handflow.ControlHandShake |= SERIAL_RTS_HANDSHAKE;
|
||||
handflow.FlowReplace |= SERIAL_RTS_HANDSHAKE;
|
||||
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user