mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-06-06 08:22:44 +00:00
Merge remote-tracking branch 'origin/develop' into xap
This commit is contained in:
commit
d88eda5b37
@ -945,7 +945,7 @@ void protocol_pre_task(void) {
|
|||||||
dprintln("suspending keyboard");
|
dprintln("suspending keyboard");
|
||||||
while (USB_DeviceState == DEVICE_STATE_Suspended) {
|
while (USB_DeviceState == DEVICE_STATE_Suspended) {
|
||||||
suspend_power_down();
|
suspend_power_down();
|
||||||
if (USB_Device_RemoteWakeupEnabled && suspend_wakeup_condition()) {
|
if (suspend_wakeup_condition() && USB_Device_RemoteWakeupEnabled) {
|
||||||
USB_Device_SendRemoteWakeup();
|
USB_Device_SendRemoteWakeup();
|
||||||
clear_keyboard();
|
clear_keyboard();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user