Some serial constants replaced by sys/unix package
This commit is contained in:
@@ -55,10 +55,10 @@ var databitsMap = map[int]uint32{
|
|||||||
8: unix.CS8,
|
8: unix.CS8,
|
||||||
}
|
}
|
||||||
|
|
||||||
const tcCMSPAR uint32 = 0 // may be CMSPAR or PAREXT
|
const tcCMSPAR = unix.CMSPAR
|
||||||
const tcIUCLC = unix.IUCLC
|
const tcIUCLC = unix.IUCLC
|
||||||
|
|
||||||
const tcCRTSCTS uint32 = 0x80000000
|
const tcCRTSCTS uint32 = unix.CRTSCTS
|
||||||
|
|
||||||
const ioctlTcgetattr = unix.TCGETS
|
const ioctlTcgetattr = unix.TCGETS
|
||||||
const ioctlTcsetattr = unix.TCSETS
|
const ioctlTcsetattr = unix.TCSETS
|
||||||
|
|||||||
Reference in New Issue
Block a user