Added support for sending breaks
This commit is contained in:
@@ -56,6 +56,8 @@ const tcCRTSCTS uint32 = tcCCTS_OFLOW
|
||||
const ioctlTcgetattr = unix.TIOCGETA
|
||||
const ioctlTcsetattr = unix.TIOCSETA
|
||||
const ioctlTcflsh = unix.TIOCFLUSH
|
||||
const ioctlTioccbrk = unix.TIOCCBRK
|
||||
const ioctlTiocsbrk = unix.TIOCSBRK
|
||||
|
||||
func toTermiosSpeedType(speed uint32) int32 {
|
||||
return int32(speed)
|
||||
|
||||
Reference in New Issue
Block a user