From fbe6293655aff9a3da30db8eeefaf27dfe7a70e2 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Fri, 27 Jan 2017 23:01:25 +0100 Subject: [PATCH] Use the new, double-add protected hook functions Signed-off-by: Gergely Nagy --- src/Akela/LED-ActiveModColor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Akela/LED-ActiveModColor.cpp b/src/Akela/LED-ActiveModColor.cpp index 579c2b16..7dbd8691 100644 --- a/src/Akela/LED-ActiveModColor.cpp +++ b/src/Akela/LED-ActiveModColor.cpp @@ -27,7 +27,7 @@ namespace Akela { void ActiveModColorEffect::begin (void) { - loop_hook_add (loopHook); + loop_hook_use (loopHook); } void