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 {
|
||||
b := &ButtonDriver{
|
||||
name: name,
|
||||
connection: a,
|
||||
connection: a.(gobot.Connection),
|
||||
pin: pin,
|
||||
Active: false,
|
||||
Eventer: gobot.NewEventer(),
|
||||
|
|
Loading…
Reference in New Issue