Skip to content

Commit 1c72447

Browse files
twpaynecmaglie
andauthored
Fix typos
Co-authored-by: Cristian Maglie <c.maglie@bug.st>
1 parent 45e996e commit 1c72447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

serial_windows.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,8 @@ func (port *windowsPort) SetDTR(dtr bool) error {
183183
// observed behaviour was that DTR is set from false -> true
184184
// when setting RTS from true -> false
185185
// 1) Connect -> RTS = true (low) DTR = true (low) OKAY
186-
// 2) SetDTR(false) -> RTS = true (low) DTR = false (heigh) OKAY
187-
// 3) SetRTS(false) -> RTS = false (heigh) DTR = true (low) ERROR: DTR toggled
186+
// 2) SetDTR(false) -> RTS = true (low) DTR = false (high) OKAY
187+
// 3) SetRTS(false) -> RTS = false (high) DTR = true (low) ERROR: DTR toggled
188188
//
189189
// In addition this way the CommState Flags are not updated
190190
/*

0 commit comments

Comments
 (0)