sungrow/vendor/github.com/goburrow/serial/termios_darwin.go
2021-01-10 15:20:11 +11:00

13 lines
210 B
Go

package serial
import (
"syscall"
)
func cfSetIspeed(termios *syscall.Termios, speed uint64) {
termios.Ispeed = speed
}
func cfSetOspeed(termios *syscall.Termios, speed uint64) {
termios.Ospeed = speed
}