Fix incorrect return type for NewGroveTouchDriver

This commit is contained in:
Adrian Zankich 2015-07-03 19:01:20 -07:00
parent a695e6d6ea
commit ff78e76596
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ type GroveTouchDriver struct {
*ButtonDriver
}
func NewGroveTouchDriver(a DigitalReader, name string, pin string, v ...time.Duration) *GroveButtonDriver {
func NewGroveTouchDriver(a DigitalReader, name string, pin string, v ...time.Duration) *GroveTouchDriver {
return &GroveTouchDriver{
ButtonDriver: NewButtonDriver(a, name, pin, v...),
}