From a0dad6bf0eb3b281ef1a42855f0c96dd413e9ee3 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Wed, 9 Aug 2017 11:22:46 +0200 Subject: [PATCH] Use Kaleidoscope.useLoopHook() instead of loop_hook_use() We are trying to migrate to the former, so while I'm here, do so in this plugin, so we can deprecate and remove `loop_hook_use` sooner. Signed-off-by: Gergely Nagy --- src/Kaleidoscope/LED-ActiveModColor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope/LED-ActiveModColor.cpp b/src/Kaleidoscope/LED-ActiveModColor.cpp index 3df67495..317f419d 100644 --- a/src/Kaleidoscope/LED-ActiveModColor.cpp +++ b/src/Kaleidoscope/LED-ActiveModColor.cpp @@ -30,7 +30,7 @@ ActiveModColorEffect::ActiveModColorEffect(void) { } void ActiveModColorEffect::begin(void) { - loop_hook_use(loopHook); + Kaleidoscope.useLoopHook(loopHook); } bool ActiveModColorEffect::isModifierActive(Key key) {