piframe-go/vendor/github.com/d2r2/go-i2c/noncgo.go
2020-09-04 14:56:41 -04:00

12 lines
219 B
Go

// +build !cgo
package i2c
// Use hard-coded value for system I2C_SLAVE
// constant, if OS not Linux or CGO disabled.
// This is not a good approach, but
// can be used as a last resort.
const (
I2C_SLAVE = 0x0703
)