From 333194b96ff94c99a8120170090476113ed46162 Mon Sep 17 00:00:00 2001 From: Ben Schwartz Date: Tue, 31 Mar 2015 20:16:06 -0500 Subject: [PATCH] style updates, removing time.Close --- samples/28bjy-48.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/samples/28bjy-48.go b/samples/28bjy-48.go index 8eb8882..955f2cb 100644 --- a/samples/28bjy-48.go +++ b/samples/28bjy-48.go @@ -74,13 +74,11 @@ func main() { // Start main loop ticker := time.NewTicker(time.Duration(*stepDelay) * time.Millisecond) - defer timer.Close() var stepCounter int for { select { case <-ticker.C: - // set pins to appropriate values for given position in the sequence for i, pin := range stepPins { if seq[stepCounter][i] != 0 {