]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
usb_usb: Add option for disabling suspend power down
authortmk <hasu@tmk-kbd.com>
Wed, 8 May 2019 03:53:15 +0000 (12:53 +0900)
committertmk <hasu@tmk-kbd.com>
Fri, 10 May 2019 00:44:59 +0000 (09:44 +0900)
converter/usb_usb/config.h

index 87da4a45eb01b870ecdc58cc125c11e00bfe3c4b..b2e5a9a3cba126228f111c2ce45a819f5a006ae2 100644 (file)
@@ -36,4 +36,8 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 /* 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