usb_usb: Add option for disabling suspend power down

This commit is contained in:
tmk 2019-05-08 12:53:15 +09:00
parent 7c228967a4
commit 2fd396b8ca

View 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