Søren Rasmussen
07a23c1845
Some checks reported errors
continuous-integration/drone/push Build encountered an error
12 lines
182 B
Go
12 lines
182 B
Go
// +build linux,cgo
|
|
|
|
package i2c
|
|
|
|
// #include <linux/i2c-dev.h>
|
|
import "C"
|
|
|
|
// Get I2C_SLAVE constant value from
|
|
// Linux OS I2C declaration file.
|
|
const (
|
|
I2C_SLAVE = C.I2C_SLAVE
|
|
)
|