From 4aa7dbe0b5e2556bc9628052301cadf8be9f8971 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Thu, 17 Aug 2017 12:10:59 +0200 Subject: [PATCH] Stop using deprecated interfaces Use `Kaleidoscope.useLoopHook` instead of `loop_hook_use` (which is getting deprecated). Signed-off-by: Gergely Nagy --- src/Kaleidoscope-Model01-TestMode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kaleidoscope-Model01-TestMode.cpp b/src/Kaleidoscope-Model01-TestMode.cpp index 357dddbb..ab3e613f 100644 --- a/src/Kaleidoscope-Model01-TestMode.cpp +++ b/src/Kaleidoscope-Model01-TestMode.cpp @@ -25,7 +25,7 @@ void TestMode_::begin(void) { white.r = 160; white.g = 160; white.b = 160; - loop_hook_use(this->loopHook); + Kaleidoscope.useLoopHook(this->loopHook); } void TestMode_::loopHook(bool postClear) {