From f833b8f87957ef2917355b82d7c9d13399cfa81e Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Tue, 1 Mar 2022 10:40:56 -0600 Subject: [PATCH] Remove deprecated EEPROM-Settings code Signed-off-by: Michael Richters --- docs/UPGRADING.md | 4 ++++ .../src/kaleidoscope/plugin/EEPROM-Settings.h | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/UPGRADING.md b/docs/UPGRADING.md index a1b7d495..8cf89a15 100644 --- a/docs/UPGRADING.md +++ b/docs/UPGRADING.md @@ -1092,6 +1092,10 @@ Second, the `Layer.eventHandler()` function has been deprecated. There wasn't mu # Removed APIs +#### `EEPROMSettings.version(uint8_t version)` + +This deprecated function was removed on **2022-03-03**. The information stored is not longer intended for user code to set, but instead is used internally. + #### Model01-TestMode plugin This deprecated plugin was removed on **2022-03-03**. Please use the more generic HardwareTestMode plugin instead. diff --git a/plugins/Kaleidoscope-EEPROM-Settings/src/kaleidoscope/plugin/EEPROM-Settings.h b/plugins/Kaleidoscope-EEPROM-Settings/src/kaleidoscope/plugin/EEPROM-Settings.h index 566dfe79..18e0c07b 100644 --- a/plugins/Kaleidoscope-EEPROM-Settings/src/kaleidoscope/plugin/EEPROM-Settings.h +++ b/plugins/Kaleidoscope-EEPROM-Settings/src/kaleidoscope/plugin/EEPROM-Settings.h @@ -19,10 +19,6 @@ #include "kaleidoscope/Runtime.h" -#define _DEPRECATED_MESSAGE_EEPROMSETTINGS_VERSION_SET \ - "The EEPROMSettings.version(uint8_t version) method has been deprecated,\n" \ - "and is a no-op now. Please see the NEWS file for more information." - namespace kaleidoscope { namespace plugin { class EEPROMSettings : public kaleidoscope::Plugin { @@ -50,7 +46,6 @@ class EEPROMSettings : public kaleidoscope::Plugin { static uint8_t version(void) { return settings_.version; } - static void version(uint8_t) DEPRECATED(EEPROMSETTINGS_VERSION_SET) {} static uint16_t requestSlice(uint16_t size); static void seal(void);