diff options
Diffstat (limited to 'tmk_core/protocol')
| -rw-r--r-- | tmk_core/protocol/lufa/lufa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c index 2142b04460..b0c9758d2f 100644 --- a/tmk_core/protocol/lufa/lufa.c +++ b/tmk_core/protocol/lufa/lufa.c | |||
| @@ -836,7 +836,7 @@ void protocol_pre_task(void) { | |||
| 836 | dprintln("suspending keyboard"); | 836 | dprintln("suspending keyboard"); |
| 837 | while (USB_DeviceState == DEVICE_STATE_Suspended) { | 837 | while (USB_DeviceState == DEVICE_STATE_Suspended) { |
| 838 | suspend_power_down(); | 838 | suspend_power_down(); |
| 839 | if (USB_Device_RemoteWakeupEnabled && suspend_wakeup_condition()) { | 839 | if (suspend_wakeup_condition() && USB_Device_RemoteWakeupEnabled) { |
| 840 | USB_Device_SendRemoteWakeup(); | 840 | USB_Device_SendRemoteWakeup(); |
| 841 | clear_keyboard(); | 841 | clear_keyboard(); |
| 842 | 842 | ||
