Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo.

This commit is contained in:
Dean Camera 2010-11-29 03:01:31 +00:00
parent 82fa9149d7
commit c879887dce
3 changed files with 4 additions and 3 deletions

View File

@ -139,7 +139,7 @@ void EVENT_USB_Device_ControlRequest(void)
/* Read the report data from the control endpoint */
Endpoint_Read_Control_Stream_LE(&GenericData, sizeof(GenericData));
Endpoint_ClearOUT();
Endpoint_ClearIN();
ProcessGenericHIDReport(GenericData);
}

View File

@ -48,8 +48,8 @@
* @{
*/
#ifndef __LEDS_BENITO_H__
#define __LEDS_BENITO_H__
#ifndef __LEDS_UNO_H__
#define __LEDS_UNO_H__
/* Includes: */
#include <avr/io.h>

View File

@ -27,6 +27,7 @@
* - Library Applications:
* - Fixed Benito project discarding incoming data from the USB virtual serial port when the USART is busy
* - Fixed broken DFU bootloader, added XPLAIN support for bootloader start when XCK jumpered to ground
* - Fixed broken HID_REQ_GetReport request handler in the Low Level GenericHID demo
*
* \section Sec_ChangeLog101122 Version 101122
* <b>New:</b>