MCPcopy Create free account
hub / github.com/distributed/sers / SetReadParams

Method SetReadParams

sers_windows.go:401–405  ·  view source on GitHub ↗
(minread int, timeout float64)

Source from the content-addressed store, hash-verified

399}
400
401func (sp *serialPort) SetReadParams(minread int, timeout float64) error {
402 // TODO: minread is ignored!
403 return setCommTimeouts(sp.fd, timeout)
404 //return StringError("SetReadParams not implemented yet on Windows")
405}
406
407type winSersTimeout struct{}
408

Callers

nothing calls this directly

Calls 1

setCommTimeoutsFunction · 0.85

Tested by

no test coverage detected