Skip to content

Commit

Permalink
i2c: exclude sysfs oriented tests on Windows, at least for now
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Jul 12, 2017
1 parent 4c3ce98 commit 0581133
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/i2c/i2c.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"errors"
"io"
"sync"
//"gobot.io/x/gobot/sysfs"
)

const (
Expand Down Expand Up @@ -58,7 +57,7 @@ type Connector interface {

// Connection is a connection to an I2C device with a specified address
// 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.
// Provided by an Adaptor by implementing the I2cConnector interface.
type Connection I2cOperations
Expand Down
2 changes: 2 additions & 0 deletions drivers/i2c/i2c_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build !windows

package i2c

import (
Expand Down

0 comments on commit 0581133

Please sign in to comment.