Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Co-authored-by: Cristian Maglie <[email protected]>
  • Loading branch information
twpayne and cmaglie authored Jun 25, 2024
1 parent 45e996e commit 1c72447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions serial_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ func (port *windowsPort) SetDTR(dtr bool) error {
// observed behaviour was that DTR is set from false -> true
// when setting RTS from true -> false
// 1) Connect -> RTS = true (low) DTR = true (low) OKAY
// 2) SetDTR(false) -> RTS = true (low) DTR = false (heigh) OKAY
// 3) SetRTS(false) -> RTS = false (heigh) DTR = true (low) ERROR: DTR toggled
// 2) SetDTR(false) -> RTS = true (low) DTR = false (high) OKAY
// 3) SetRTS(false) -> RTS = false (high) DTR = true (low) ERROR: DTR toggled
//
// In addition this way the CommState Flags are not updated
/*
Expand Down

0 comments on commit 1c72447

Please sign in to comment.