Skip to content
Snippets Groups Projects
Commit 687fe510 authored by Jan Grewe's avatar Jan Grewe
Browse files

Add comment for non-static->static preview

parent 1e7077f7
Branches
No related tags found
No related merge requests found
...@@ -156,6 +156,12 @@ void loop() ...@@ -156,6 +156,12 @@ void loop()
break; break;
case MODE_STATIC_PREVIEW: case MODE_STATIC_PREVIEW:
Serial.println("Mode = static_preview"); Serial.println("Mode = static_preview");
/***
*
* Comment the following line out if you don't want static mode
* when switching off from non-static mode
*
***/
hb.set_light(CURRENT_LEVEL, brightness[current_brightness], NOW); hb.set_light(CURRENT_LEVEL, brightness[current_brightness], NOW);
break; break;
case MODE_STATIC: case MODE_STATIC:
...@@ -244,4 +250,3 @@ void cycleBrightness() { ...@@ -244,4 +250,3 @@ void cycleBrightness() {
} }
hb.set_light(CURRENT_LEVEL, brightness[current_brightness], NOW); hb.set_light(CURRENT_LEVEL, brightness[current_brightness], NOW);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment