From 71815cd0f33c37a1f0d94d7faf4aa73afab80e51 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/GhostInTheFirmware.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Akela/GhostInTheFirmware.cpp b/src/Akela/GhostInTheFirmware.cpp index 3a5d465a..2455019e 100644 --- a/src/Akela/GhostInTheFirmware.cpp +++ b/src/Akela/GhostInTheFirmware.cpp @@ -30,7 +30,7 @@ namespace Akela { void GhostInTheFirmware::begin (void) { - loop_hook_add (this->loopHook); + loop_hook_use (this->loopHook); } void