From 189b780341137a053b122538e4444159d99fae37 Mon Sep 17 00:00:00 2001 From: deadprogram Date: Wed, 12 Jul 2017 09:47:44 -0600 Subject: [PATCH] i2c: exclude sysfs oriented tests on Windows, at least for now Signed-off-by: deadprogram --- drivers/i2c/i2c.go | 3 +-- drivers/i2c/i2c_test.go | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/i2c.go b/drivers/i2c/i2c.go index 056c5f6d..7af9e280 100644 --- a/drivers/i2c/i2c.go +++ b/drivers/i2c/i2c.go @@ -4,7 +4,6 @@ import ( "errors" "io" "sync" - //"gobot.io/x/gobot/sysfs" ) const ( @@ -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 diff --git a/drivers/i2c/i2c_test.go b/drivers/i2c/i2c_test.go index ab3ee139..f509a5d1 100644 --- a/drivers/i2c/i2c_test.go +++ b/drivers/i2c/i2c_test.go @@ -1,3 +1,5 @@ +// +build !windows + package i2c import (