Compare commits
1 Commits
187735eee6
...
v0.4.0
Author | SHA1 | Date | |
---|---|---|---|
0b8d2218c1 |
@@ -118,7 +118,7 @@ func (l *PiColorLed) blink(freq float64) {
|
|||||||
ticker := time.NewTicker(time.Duration(float64(time.Second) / freq))
|
ticker := time.NewTicker(time.Duration(float64(time.Second) / freq))
|
||||||
|
|
||||||
// Restore values
|
// Restore values
|
||||||
defer l.SetColor(l.Color())
|
defer l.on()
|
||||||
|
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
Reference in New Issue
Block a user