Drop the V1 plugin API compatibility code

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/365/head
Gergely Nagy 6 years ago
parent 989f1417ac
commit c11c09ba5f

@ -98,13 +98,6 @@ void EEPROMSettings::version(uint8_t ver) {
update(); update();
} }
// Legacy V1 API
#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API
void EEPROMSettings::begin() {
::EEPROMSettings.onSetup();
}
#endif
} }
kaleidoscope::EEPROMSettings EEPROMSettings; kaleidoscope::EEPROMSettings EEPROMSettings;

@ -39,11 +39,6 @@ class EEPROMSettings : public kaleidoscope::Plugin {
static uint16_t crc(void); static uint16_t crc(void);
static uint16_t used(void); static uint16_t used(void);
#if KALEIDOSCOPE_ENABLE_V1_PLUGIN_API
protected:
void begin();
#endif
private: private:
static uint16_t next_start_; static uint16_t next_start_;
static bool is_valid_; static bool is_valid_;

Loading…
Cancel
Save