From 6497d3ae8fe6f0b34c0c1f19c6d7883570437148 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-Stalker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Akela/LED-Stalker.cpp b/src/Akela/LED-Stalker.cpp index f89c9678..adaca428 100644 --- a/src/Akela/LED-Stalker.cpp +++ b/src/Akela/LED-Stalker.cpp @@ -33,8 +33,8 @@ namespace Akela { void StalkerEffect::begin (void) { - event_handler_hook_add (eventHandlerHook); - loop_hook_add (loopHook); + event_handler_hook_use (eventHandlerHook); + loop_hook_use (loopHook); } Key