From bcd694f40469e820e6876b421f9e009ba06ef5a6 Mon Sep 17 00:00:00 2001 From: Gergely Nagy Date: Mon, 4 Jun 2018 07:59:49 +0200 Subject: Drop the use of HostPowerManagement.enableWakeup() It is not necessary anymore, as BootKeyboard supports wakeup itself now. As such, also updated the comments regarding the plugin in KALEIDOSCOPE_INIT_PLUGINS. Signed-off-by: Gergely Nagy --- Model01-Firmware.ino | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 71d87e2..eeef307 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -330,8 +330,8 @@ KALEIDOSCOPE_INIT_PLUGINS( // The MouseKeys plugin lets you add keys to your keymap which move the mouse. MouseKeys, - // The HostPowerManagement plugin enables waking up the host from suspend, - // and allows us to turn LEDs off when it goes to sleep. + // The HostPowerManagement plugin allows us to turn LEDs off when then host + // goes to sleep, and resume them when it wakes up. HostPowerManagement ); @@ -360,9 +360,6 @@ void setup() { // see https://github.com/keyboardio/Kaleidoscope-LED-Stalker StalkerEffect.variant = STALKER(BlazingTrail); - // We want the keyboard to be able to wake the host up from suspend. - HostPowerManagement.enableWakeup(); - // We want to make sure that the firmware starts with LED effects off // This avoids over-taxing devices that don't have a lot of power to share // with USB devices -- cgit v1.2.3