Fix typos

Co-authored-by: Cristian Maglie <c.maglie@bug.st>
This commit is contained in:
Tom Payne
2024-06-25 10:48:18 +02:00
committed by GitHub
parent 45e996e1b0
commit 1c72447e64

View File

@@ -183,8 +183,8 @@ func (port *windowsPort) SetDTR(dtr bool) error {
// observed behaviour was that DTR is set from false -> true // observed behaviour was that DTR is set from false -> true
// when setting RTS from true -> false // when setting RTS from true -> false
// 1) Connect -> RTS = true (low) DTR = true (low) OKAY // 1) Connect -> RTS = true (low) DTR = true (low) OKAY
// 2) SetDTR(false) -> RTS = true (low) DTR = false (heigh) OKAY // 2) SetDTR(false) -> RTS = true (low) DTR = false (high) OKAY
// 3) SetRTS(false) -> RTS = false (heigh) DTR = true (low) ERROR: DTR toggled // 3) SetRTS(false) -> RTS = false (high) DTR = true (low) ERROR: DTR toggled
// //
// In addition this way the CommState Flags are not updated // In addition this way the CommState Flags are not updated
/* /*