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

@@ -46,6 +46,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 | tcCRTS_IFLOW)
// syscall wrappers
//sys ioctl(fd int, req uint64, data uintptr) (err error)