X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/61861c548eabf6863af57a9aa20103fcd3a9aced..55aadf97d5d2bd86f2a0c3a53d4608c0cf96471e:/LUFA/Drivers/USB/Class/Host/HID.h diff --git a/LUFA/Drivers/USB/Class/Host/HID.h b/LUFA/Drivers/USB/Class/Host/HID.h index 1c6c7d232..a0bef784a 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.h +++ b/LUFA/Drivers/USB/Class/Host/HID.h @@ -255,11 +255,13 @@ * 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. */ - 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) ATTR_NON_NULL_PTR_ARG(1); #if !defined(HID_HOST_BOOT_PROTOCOL_ONLY) /** Switches the attached HID device's reporting protocol over to the standard Report protocol mode. This also retrieves