aboutsummaryrefslogtreecommitdiffstats
path: root/sercp.c
diff options
context:
space:
mode:
authorPavel Vymetálek <pavel@vym.cz>2019-02-27 10:07:03 +0100
committerPavel Vymetálek <pavel@vym.cz>2019-02-27 10:07:03 +0100
commitf43a5c6f101fc801c5ac2a5925dfca2c00c19f02 (patch)
tree93c6f7f1cb3878bad858a53ca29856a6cd899422 /sercp.c
parentc658bf9a9e38731e08a0526972c0c911c1980c65 (diff)
downloadsercp-pc-f43a5c6f101fc801c5ac2a5925dfca2c00c19f02.tar.gz
Změna nastavení RTS řízení com portu na Windows
Diffstat (limited to 'sercp.c')
-rw-r--r--sercp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sercp.c b/sercp.c
index 0055716..ea9388d 100644
--- a/sercp.c
+++ b/sercp.c
@@ -618,7 +618,7 @@ int OpenUart() {
sDCB.fAbortOnError = TRUE;
sDCB.fOutxDsrFlow = FALSE;
sDCB.fDtrControl = DTR_CONTROL_DISABLE;
- sDCB.fRtsControl = RTS_CONTROL_ENABLE;
+ sDCB.fRtsControl = RTS_CONTROL_HANDSHAKE;
sDCB.fOutxCtsFlow = TRUE;
if (SetCommState(serial_fd, &sDCB) == 0) {
return (-1);