diff --git a/src/Kaleidoscope-Model01-TestMode.cpp b/src/Kaleidoscope-Model01-TestMode.cpp index 94b154dd..dbb536f9 100644 --- a/src/Kaleidoscope-Model01-TestMode.cpp +++ b/src/Kaleidoscope-Model01-TestMode.cpp @@ -10,20 +10,6 @@ #define RELEASED 0 - -#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API -void TestMode_::begin(void) { - Kaleidoscope.useLoopHook(this->legacyLoopHook); -} - -void TestMode_::legacyLoopHook(bool is_post_clear) { - if (is_post_clear) - return; - - TestMode.beforeReportingState(); -} -#endif - kaleidoscope::EventHandlerResult TestMode_::beforeReportingState() { if (KeyboardHardware.isKeyswitchPressed(R0C0) && KeyboardHardware.isKeyswitchPressed(R0C6) && diff --git a/src/Kaleidoscope-Model01-TestMode.h b/src/Kaleidoscope-Model01-TestMode.h index 1884756d..38315482 100644 --- a/src/Kaleidoscope-Model01-TestMode.h +++ b/src/Kaleidoscope-Model01-TestMode.h @@ -14,16 +14,6 @@ class TestMode_ : public kaleidoscope::Plugin { kaleidoscope::EventHandlerResult beforeReportingState(); -#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API - kaleidoscope::EventHandlerResult onSetup() { - return kaleidoscope::EventHandlerResult::OK; - } - - protected: - void begin(); - static void legacyLoopHook(bool is_post_clear); -#endif - private: static void run_tests(); static void test_leds();