From 9c32f3ed10d94dc2cc48968969f060ce14a8c769 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 2 Oct 2018 10:56:26 +0200 Subject: ... --- blinkstick.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/blinkstick.go b/blinkstick.go index beff7ce..630091c 100644 --- a/blinkstick.go +++ b/blinkstick.go @@ -77,8 +77,5 @@ func SetAll(w io.Writer, n int, c color.Color) error { // Off all n LEDs func Off(w io.Writer, n int) error { - if n == 0 { - n = 8 - } return SetAll(w, n, nil) } -- cgit v1.2.3