From 687fe51002069c54642d54513bafab5b9a1f9dce Mon Sep 17 00:00:00 2001 From: Jan Grewe <jan@faked.org> Date: Mon, 10 Jun 2013 02:53:38 +0300 Subject: [PATCH] Add comment for non-static->static preview --- platypus/platypus.ino | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/platypus/platypus.ino b/platypus/platypus.ino index 120b0c9..bd4420d 100644 --- a/platypus/platypus.ino +++ b/platypus/platypus.ino @@ -156,6 +156,12 @@ void loop() break; case 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); break; case MODE_STATIC: @@ -244,4 +250,3 @@ void cycleBrightness() { } hb.set_light(CURRENT_LEVEL, brightness[current_brightness], NOW); } - -- GitLab