fermentord/vendor/github.com/d2r2/go-i2c/noncgo.go
Søren Rasmussen 07a23c1845
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Upgrade to go 1.20 and add vendor catalog
2023-04-22 10:37:23 +02:00

11 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
)