From: tmk Date: Wed, 8 May 2019 03:53:15 +0000 (+0900) Subject: usb_usb: Add option for disabling suspend power down X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=2fd396b8ca15592729f2ab84fce474bf987deb11;p=max%2Ftmk_keyboard.git usb_usb: Add option for disabling suspend power down --- diff --git a/converter/usb_usb/config.h b/converter/usb_usb/config.h index 87da4a45..b2e5a9a3 100644 --- a/converter/usb_usb/config.h +++ b/converter/usb_usb/config.h @@ -36,4 +36,8 @@ along with this program. If not, see . /* key combination for command */ #define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) +// Disable power saving in USB suspend loop but remote wakeup is still valid. +// This allows keep USB::Task() going during suspend without power down time delay. +//#define NO_SUSPEND_POWER_DOWN + #endif