From ff78e765961ae0c23f0ffaef2a5c52134be0e7f4 Mon Sep 17 00:00:00 2001 From: Adrian Zankich Date: Fri, 3 Jul 2015 19:01:20 -0700 Subject: [PATCH] Fix incorrect return type for NewGroveTouchDriver --- platforms/gpio/grove_drivers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/gpio/grove_drivers.go b/platforms/gpio/grove_drivers.go index 3e2dbe40..750cffd5 100644 --- a/platforms/gpio/grove_drivers.go +++ b/platforms/gpio/grove_drivers.go @@ -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...), }