aboutsummaryrefslogtreecommitdiffstats
path: root/sercp.c
diff options
context:
space:
mode:
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);