Add missing function parameter to the new HID_Host_SetIdlePeriod() function.
This commit is contained in:
		
							parent
							
								
									a09e1cb53b
								
							
						
					
					
						commit
						258381e760
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -357,7 +357,8 @@ uint8_t HID_Host_SetBootProtocol(USB_ClassInfo_HID_Host_t* const HIDInterfaceInf
 | 
			
		|||
	return HOST_SENDCONTROL_Successful;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
uint8_t HID_Host_SetIdlePeriod(const uint16_t MS)
 | 
			
		||||
uint8_t HID_Host_SetIdlePeriod(USB_ClassInfo_HID_Host_t* const HIDInterfaceInfo,
 | 
			
		||||
                               const uint16_t MS)
 | 
			
		||||
{
 | 
			
		||||
	USB_ControlRequest = (USB_Request_Header_t)
 | 
			
		||||
		{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -255,7 +255,8 @@
 | 
			
		|||
			 *  at which the device should send a report, when no state changes have ocurred; i.e. on HID keyboards, this sets the
 | 
			
		||||
			 *  hardware key repeat interval.
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \param[in] MS  Idle period as a multiple of four milliseconds, zero to disable hardware repeats
 | 
			
		||||
			 *  \param[in,out] HIDInterfaceInfo  Pointer to a structure containing a HID Class host configuration and state.
 | 
			
		||||
			 *  \param[in]     MS                Idle period as a multiple of four milliseconds, zero to disable hardware repeats
 | 
			
		||||
			 *
 | 
			
		||||
			 *  \return A value from the \ref USB_Host_SendControlErrorCodes_t enum.
 | 
			
		||||
			 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue