Bugfix to set correct mode, when "off"
https://github.com/toblum/McLighting/issues/9
This commit is contained in:
parent
d0e9e3aa0a
commit
33804de86e
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ void loop() {
|
|||
if (mode == OFF) {
|
||||
strip.setColor(0,0,0);
|
||||
strip.setMode(FX_MODE_STATIC);
|
||||
mode = HOLD;
|
||||
// mode = HOLD;
|
||||
}
|
||||
if (mode == ALL) {
|
||||
strip.setColor(main_color.red, main_color.green, main_color.blue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue