From 302c86fa8056fc91ecb09cf0b4a129a3d8288392 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Thu, 21 May 2015 18:56:07 +0200 Subject: Simplify --- poll/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poll/main.go') diff --git a/poll/main.go b/poll/main.go index 135215f..bb19921 100644 --- a/poll/main.go +++ b/poll/main.go @@ -14,7 +14,7 @@ func main() { } defer dev.Close() - state := redbutton.PollState(dev) + state := redbutton.Poll(dev) for { fmt.Println(<-state) } -- cgit v1.2.3