From 3047c5c092af9ec1ae59fb1de99bf9947e4b0d55 Mon Sep 17 00:00:00 2001 From: Adrian Zankich Date: Fri, 28 Nov 2014 19:04:22 -0800 Subject: [PATCH] Pins are tired of pining --- device.go | 4 ++-- driver.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/device.go b/device.go index adba5064..b584f8ef 100644 --- a/device.go +++ b/device.go @@ -53,8 +53,8 @@ func (d *devices) Start() (errs []error) { for _, device := range *d { info := "Starting device " + device.Name() - if piner, ok := device.(Piner); ok { - info = info + " on pin " + piner.Pin() + if pinner, ok := device.(Pinner); ok { + info = info + " on pin " + pinner.Pin() } log.Println(info + "...") diff --git a/driver.go b/driver.go index 2a206688..f3f5ca59 100644 --- a/driver.go +++ b/driver.go @@ -7,6 +7,6 @@ type Driver interface { Connection() Connection } -type Piner interface { +type Pinner interface { Pin() string }