Added implementation for darwin,386

This commit is contained in:
Cristian Maglie
2015-01-01 03:45:27 +01:00
parent da42d3809e
commit 4b12c041b5
4 changed files with 67 additions and 47 deletions

12
serial_darwin_386.go Normal file
View File

@@ -0,0 +1,12 @@
//
// Copyright 2014 Cristian Maglie. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
package serial // import "go.bug.st/serial"
func termiosMask(data int) uint32 {
return uint32(data)
}