Added support for sending breaks

This commit is contained in:
Jaime
2022-05-04 12:03:56 +02:00
committed by Cristian Maglie
parent f85edb454b
commit 75542ba31a
7 changed files with 30 additions and 0 deletions

View File

@@ -63,6 +63,8 @@ const tcCRTSCTS uint32 = unix.CRTSCTS
const ioctlTcgetattr = unix.TCGETS
const ioctlTcsetattr = unix.TCSETS
const ioctlTcflsh = unix.TCFLSH
const ioctlTioccbrk = unix.TIOCCBRK
const ioctlTiocsbrk = unix.TIOCSBRK
func toTermiosSpeedType(speed uint32) uint32 {
return speed