Skip to content

Commit

Permalink
fix: RTS/CTS flow control for Windows (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
krutkay authored and reconbot committed May 15, 2019
1 parent 8314d3f commit cd112ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/bindings/src/serialport_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ void EIO_Open(uv_work_t* req) {
}

if (data->rtscts) {
dcb.fRtsControl = RTS_CONTROL_ENABLE;
dcb.fRtsControl = RTS_CONTROL_HANDSHAKE;
dcb.fOutxCtsFlow = TRUE;
} else {
dcb.fRtsControl = RTS_CONTROL_DISABLE;
}
Expand Down

0 comments on commit cd112ca

Please sign in to comment.