Bugfix issue: Just a flicker on WS set single pixel command #31

See: https://github.com/toblum/McLighting/issues/31
This commit is contained in:
Tobias Blum
2017-08-19 23:36:23 +02:00
parent 32bb5ed7ac
commit ae371e0844
3 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -585,7 +585,7 @@ void loop() {
strip.setMode(FX_MODE_THEATER_CHASE_RAINBOW);
mode = HOLD;
}
if (mode == HOLD) {
if (mode == HOLD || mode == CUSTOM) {
if (exit_func) {
exit_func = false;
}
@@ -594,7 +594,8 @@ void loop() {
tv();
}
if (mode != TV) {
// Only for modes with WS2812FX functionality
if (mode != TV && mode != CUSTOM) {
strip.service();
}
}