]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - converter/usb_usb/config.h
usb_usb: Add option for disabling suspend power down
[max/tmk_keyboard.git] / 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