We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45e996e commit 1c72447Copy full SHA for 1c72447
serial_windows.go
@@ -183,8 +183,8 @@ func (port *windowsPort) SetDTR(dtr bool) error {
183
// observed behaviour was that DTR is set from false -> true
184
// when setting RTS from true -> false
185
// 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
+ // 2) SetDTR(false) -> RTS = true (low) DTR = false (high) OKAY
+ // 3) SetRTS(false) -> RTS = false (high) DTR = true (low) ERROR: DTR toggled
188
//
189
// In addition this way the CommState Flags are not updated
190
/*
0 commit comments