usb_usb: Add option for disabling suspend power down
This commit is contained in:
parent
7c228967a4
commit
2fd396b8ca
1 changed files with 4 additions and 0 deletions
|
|
@ -36,4 +36,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
/* key combination for command */
|
/* key combination for command */
|
||||||
#define IS_COMMAND() (keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)))
|
#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
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue