Skip to content

Commit

Permalink
Change default OFF fade to 20s
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon-Bright committed Jan 4, 2021
1 parent eecd701 commit e3234e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ func (s *Server) createEffect(cmd, parms string, w *bufio.Writer) (effects.Effec
return s.laste, nil
case cmd == "OFF":
// Hack: we insert this directly into the channel because we don't want to overwrite whatever the last effect was
fb := effects.NewFade(10*time.Second, pixarray.Pixel{0, 0, 0, 0})
fb := effects.NewFade(20*time.Second, pixarray.Pixel{0, 0, 0, 0})
s.off = true
s.c <- fb
return nil, nil
Expand Down

0 comments on commit e3234e2

Please sign in to comment.