Fix failing test

This commit is contained in:
Adrian Zankich 2014-11-28 18:53:09 -08:00
parent cad4c4abb0
commit 972219c62b
1 changed files with 1 additions and 1 deletions

View File

@ -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(),