Align LUFA suspend logic (#24055)
This commit is contained in:
		
							parent
							
								
									ecf5b26ff0
								
							
						
					
					
						commit
						d0e89aecca
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -836,7 +836,7 @@ void protocol_pre_task(void) { | |||
|         dprintln("suspending keyboard"); | ||||
|         while (USB_DeviceState == DEVICE_STATE_Suspended) { | ||||
|             suspend_power_down(); | ||||
|             if (USB_Device_RemoteWakeupEnabled && suspend_wakeup_condition()) { | ||||
|             if (suspend_wakeup_condition() && USB_Device_RemoteWakeupEnabled) { | ||||
|                 USB_Device_SendRemoteWakeup(); | ||||
|                 clear_keyboard(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Joel Challis
						Joel Challis