From c8ab42103a5c481ab51b3a01463ad033c68ca81d Mon Sep 17 00:00:00 2001 From: Michael Richters Date: Tue, 1 Mar 2022 10:07:18 -0600 Subject: [PATCH] Remove deprecated HostPowerManagement code Signed-off-by: Michael Richters --- docs/UPGRADING.md | 4 ++++ .../src/kaleidoscope/plugin/HostPowerManagement.h | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/UPGRADING.md b/docs/UPGRADING.md index 8cf89a15..93f2cc89 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 +#### `HostPowerManagement.enableWakeup()` + +This deprecated function was removed on **2022-03-03**. The firmware now supports wakeup by default, so any references to it can be safely removed. + #### `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. diff --git a/plugins/Kaleidoscope-HostPowerManagement/src/kaleidoscope/plugin/HostPowerManagement.h b/plugins/Kaleidoscope-HostPowerManagement/src/kaleidoscope/plugin/HostPowerManagement.h index 6b8b9676..1540bc23 100644 --- a/plugins/Kaleidoscope-HostPowerManagement/src/kaleidoscope/plugin/HostPowerManagement.h +++ b/plugins/Kaleidoscope-HostPowerManagement/src/kaleidoscope/plugin/HostPowerManagement.h @@ -19,12 +19,6 @@ #include "kaleidoscope/Runtime.h" -#define _DEPRECATED_MESSAGE_ENABLEWAKEUP \ - "The HostPowerManagement.enableWakeup() call is not necessary anymore,\n" \ - "the firmware supports wakeup by default now. The line can be safely\n" \ - "removed.\n" \ - "This function will be removed after 2021-08-01." - namespace kaleidoscope { namespace plugin { class HostPowerManagement : public kaleidoscope::Plugin { @@ -37,8 +31,6 @@ class HostPowerManagement : public kaleidoscope::Plugin { HostPowerManagement(void) {} - void enableWakeup(void) DEPRECATED(ENABLEWAKEUP) {} - EventHandlerResult beforeEachCycle(); private: