Fix failing test
This commit is contained in:
parent
cad4c4abb0
commit
972219c62b
|
@ -22,7 +22,7 @@ type ButtonDriver struct {
|
||||||
func NewButtonDriver(a DigitalReader, name string, pin string, v ...time.Duration) *ButtonDriver {
|
func NewButtonDriver(a DigitalReader, name string, pin string, v ...time.Duration) *ButtonDriver {
|
||||||
b := &ButtonDriver{
|
b := &ButtonDriver{
|
||||||
name: name,
|
name: name,
|
||||||
connection: a,
|
connection: a.(gobot.Connection),
|
||||||
pin: pin,
|
pin: pin,
|
||||||
Active: false,
|
Active: false,
|
||||||
Eventer: gobot.NewEventer(),
|
Eventer: gobot.NewEventer(),
|
||||||
|
|
Loading…
Reference in New Issue