From c11c09ba5f650d7d1275689cd275c8bdaeb4c9e5 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Mon, 20 Aug 2018 22:58:00 +0200 Subject: [PATCH] Drop the V1 plugin API compatibility code Signed-off-by: Gergely Nagy --- src/Kaleidoscope/EEPROM-Settings.cpp | 7 ------- src/Kaleidoscope/EEPROM-Settings.h | 5 ----- 2 files changed, 12 deletions(-) diff --git a/src/Kaleidoscope/EEPROM-Settings.cpp b/src/Kaleidoscope/EEPROM-Settings.cpp index 83f4e11f..9fa48ef4 100644 --- a/src/Kaleidoscope/EEPROM-Settings.cpp +++ b/src/Kaleidoscope/EEPROM-Settings.cpp @@ -98,13 +98,6 @@ void EEPROMSettings::version(uint8_t ver) { update(); } -// Legacy V1 API -#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API -void EEPROMSettings::begin() { - ::EEPROMSettings.onSetup(); -} -#endif - } kaleidoscope::EEPROMSettings EEPROMSettings; diff --git a/src/Kaleidoscope/EEPROM-Settings.h b/src/Kaleidoscope/EEPROM-Settings.h index 1b8e483c..373cbdfd 100644 --- a/src/Kaleidoscope/EEPROM-Settings.h +++ b/src/Kaleidoscope/EEPROM-Settings.h @@ -39,11 +39,6 @@ class EEPROMSettings : public kaleidoscope::Plugin { static uint16_t crc(void); static uint16_t used(void); -#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API - protected: - void begin(); -#endif - private: static uint16_t next_start_; static bool is_valid_;