Søren Rasmussen
07a23c1845
Some checks reported errors
continuous-integration/drone/push Build encountered an error
11 lines
219 B
Go
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
|
|
)
|