Merge pull request #1 from akechi-haruka/serialhook

serial: fix flow flags
This commit is contained in:
Kevin Trocolli
2024-10-10 12:08:55 -04:00
committed by GitHub
+2 -2
View File
@@ -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;