Disable RTS/CTS handshake by default

Fix #3
This commit is contained in:
Cristian Maglie
2016-10-20 23:17:26 +02:00
parent fe0dfe76d3
commit 7178181a28
4 changed files with 15 additions and 0 deletions

View File

@@ -48,6 +48,11 @@ var databitsMap = map[int]int{
const tcCMSPAR int = 0 // may be CMSPAR or PAREXT
const tcIUCLC int = 0
const tcCCTS_OFLOW int = 0x00010000
const tcCRTS_IFLOW int = 0x00020000
const tcCRTSCTS int = tcCCTS_OFLOW
func termiosMask(data int) uint32 {
return uint32(data)
}