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 {