From 33804de86e01e339afa9451fd6fb0ed73de149c1 Mon Sep 17 00:00:00 2001 From: Tobias Blum Date: Fri, 10 Feb 2017 12:13:32 +0100 Subject: [PATCH] Bugfix to set correct mode, when "off" https://github.com/toblum/McLighting/issues/9 --- Arduino/McLighting/McLighting.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Arduino/McLighting/McLighting.ino b/Arduino/McLighting/McLighting.ino index 1f0fe8b..562c502 100644 --- a/Arduino/McLighting/McLighting.ino +++ b/Arduino/McLighting/McLighting.ino @@ -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);