i2c: exclude sysfs oriented tests on Windows, at least for now
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
c49b7afe9c
commit
189b780341
|
@ -4,7 +4,6 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"io"
|
"io"
|
||||||
"sync"
|
"sync"
|
||||||
//"gobot.io/x/gobot/sysfs"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
@ -58,7 +57,7 @@ type Connector interface {
|
||||||
|
|
||||||
// Connection is a connection to an I2C device with a specified address
|
// Connection is a connection to an I2C device with a specified address
|
||||||
// on a specific bus. Used as an alternative to the I2c interface.
|
// on a specific bus. Used as an alternative to the I2c interface.
|
||||||
// Implements sysfs.I2cOperations to talk to the device, wrapping the
|
// Implements I2cOperations to talk to the device, wrapping the
|
||||||
// calls in SetAddress to always target the specified device.
|
// calls in SetAddress to always target the specified device.
|
||||||
// Provided by an Adaptor by implementing the I2cConnector interface.
|
// Provided by an Adaptor by implementing the I2cConnector interface.
|
||||||
type Connection I2cOperations
|
type Connection I2cOperations
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
// +build !windows
|
||||||
|
|
||||||
package i2c
|
package i2c
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in New Issue