i2c: exclude sysfs oriented tests on Windows, at least for now

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-07-12 09:47:44 -06:00
parent c49b7afe9c
commit 189b780341
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -1,3 +1,5 @@
// +build !windows
package i2c package i2c
import ( import (