diff options
author | Pavel Vymetálek <pavel@vym.cz> | 2019-02-27 10:07:03 +0100 |
---|---|---|
committer | Pavel Vymetálek <pavel@vym.cz> | 2019-02-27 10:07:03 +0100 |
commit | f43a5c6f101fc801c5ac2a5925dfca2c00c19f02 (patch) | |
tree | 93c6f7f1cb3878bad858a53ca29856a6cd899422 | |
parent | c658bf9a9e38731e08a0526972c0c911c1980c65 (diff) | |
download | sercp-pc-f43a5c6f101fc801c5ac2a5925dfca2c00c19f02.tar.gz |
Změna nastavení RTS řízení com portu na Windows
-rw-r--r-- | sercp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |