diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-04 09:22:02 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-07-04 09:22:02 +0000 |
commit | 258381e76030daba304557f0cffe6c0f9584d4d9 (patch) | |
tree | 214d0552768ba12c8d465c9b816e6934254d6ac7 /LUFA | |
parent | a09e1cb53be78f2b1d387bb13f6dfcb62223faf7 (diff) | |
download | lufa-258381e76030daba304557f0cffe6c0f9584d4d9.tar.gz lufa-258381e76030daba304557f0cffe6c0f9584d4d9.tar.bz2 lufa-258381e76030daba304557f0cffe6c0f9584d4d9.zip |
Add missing function parameter to the new HID_Host_SetIdlePeriod() function.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HID.c | 3 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Class/Host/HID.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/HID.c b/LUFA/Drivers/USB/Class/Host/HID.c index 683458de5..606b3dfed 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.c +++ b/LUFA/Drivers/USB/Class/Host/HID.c @@ -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) { diff --git a/LUFA/Drivers/USB/Class/Host/HID.h b/LUFA/Drivers/USB/Class/Host/HID.h index 1c6c7d232..2f560ebd2 100644 --- a/LUFA/Drivers/USB/Class/Host/HID.h +++ b/LUFA/Drivers/USB/Class/Host/HID.h @@ -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. */ |