From 1c72447e64a43ef0d6bfd1136f04b812096a1f56 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 25 Jun 2024 10:48:18 +0200 Subject: [PATCH] Fix typos Co-authored-by: Cristian Maglie --- serial_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/serial_windows.go b/serial_windows.go index a7f9a12..4751c91 100644 --- a/serial_windows.go +++ b/serial_windows.go @@ -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 /*