Skip to content

Commit

Permalink
Fix incorrect return type for NewGroveTouchDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
zankich committed Jul 4, 2015
1 parent a695e6d commit ff78e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/gpio/grove_drivers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...),
}
Expand Down

0 comments on commit ff78e76

Please sign in to comment.