test: correct aio references for AnalogRead tests
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
parent
75847b8f0c
commit
b99e935b81
|
@ -6,6 +6,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"gobot.io/x/gobot"
|
||||
"gobot.io/x/gobot/drivers/aio"
|
||||
"gobot.io/x/gobot/drivers/gpio"
|
||||
"gobot.io/x/gobot/drivers/i2c"
|
||||
"gobot.io/x/gobot/gobottest"
|
||||
|
@ -16,7 +17,7 @@ var _ gobot.Adaptor = (*Adaptor)(nil)
|
|||
|
||||
var _ gpio.DigitalReader = (*Adaptor)(nil)
|
||||
var _ gpio.DigitalWriter = (*Adaptor)(nil)
|
||||
var _ gpio.AnalogReader = (*Adaptor)(nil)
|
||||
var _ aio.AnalogReader = (*Adaptor)(nil)
|
||||
var _ gpio.PwmWriter = (*Adaptor)(nil)
|
||||
var _ gpio.ServoWriter = (*Adaptor)(nil)
|
||||
|
||||
|
|
|
@ -10,6 +10,7 @@ import (
|
|||
"time"
|
||||
|
||||
"gobot.io/x/gobot"
|
||||
"gobot.io/x/gobot/drivers/aio"
|
||||
"gobot.io/x/gobot/drivers/gpio"
|
||||
"gobot.io/x/gobot/drivers/i2c"
|
||||
"gobot.io/x/gobot/gobottest"
|
||||
|
@ -20,7 +21,7 @@ var _ gobot.Adaptor = (*Adaptor)(nil)
|
|||
|
||||
var _ gpio.DigitalReader = (*Adaptor)(nil)
|
||||
var _ gpio.DigitalWriter = (*Adaptor)(nil)
|
||||
var _ gpio.AnalogReader = (*Adaptor)(nil)
|
||||
var _ aio.AnalogReader = (*Adaptor)(nil)
|
||||
var _ gpio.PwmWriter = (*Adaptor)(nil)
|
||||
var _ gpio.ServoWriter = (*Adaptor)(nil)
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ import (
|
|||
"testing"
|
||||
|
||||
"gobot.io/x/gobot"
|
||||
"gobot.io/x/gobot/drivers/aio"
|
||||
"gobot.io/x/gobot/drivers/gpio"
|
||||
"gobot.io/x/gobot/drivers/i2c"
|
||||
"gobot.io/x/gobot/gobottest"
|
||||
|
@ -15,7 +16,7 @@ var _ gobot.Adaptor = (*Adaptor)(nil)
|
|||
|
||||
var _ gpio.DigitalReader = (*Adaptor)(nil)
|
||||
var _ gpio.DigitalWriter = (*Adaptor)(nil)
|
||||
var _ gpio.AnalogReader = (*Adaptor)(nil)
|
||||
var _ aio.AnalogReader = (*Adaptor)(nil)
|
||||
var _ gpio.PwmWriter = (*Adaptor)(nil)
|
||||
|
||||
var _ i2c.I2c = (*Adaptor)(nil)
|
||||
|
|
Loading…
Reference in New Issue