@ -81,7 +81,7 @@ uint8_t ProcessConfigurationDescriptor(void)
}
}
/* Save the HID report size for later use */
/* Save the HID report size for later use */
HIDReportSize = DESCRIPTOR_CAST ( C onfigDescriptorData , USB_Descriptor_HID_t ) . HIDReportLength ;
HIDReportSize = DESCRIPTOR_CAST ( C urrConfigLocation , USB_Descriptor_HID_t ) . HIDReportLength ;
/* Get the keyboard interface's data endpoint descriptor */
/* Get the keyboard interface's data endpoint descriptor */
if ( USB_GetNextDescriptorComp ( & CurrConfigBytesRem , & CurrConfigLocation ,
if ( USB_GetNextDescriptorComp ( & CurrConfigBytesRem , & CurrConfigLocation ,
@ -92,7 +92,7 @@ uint8_t ProcessConfigurationDescriptor(void)
}
}
/* Retrieve the endpoint address from the endpoint descriptor */
/* Retrieve the endpoint address from the endpoint descriptor */
USB_Descriptor_Endpoint_t * EndpointData = DESCRIPTOR_PCAST ( C onfigDescriptorData , USB_Descriptor_Endpoint_t ) ;
USB_Descriptor_Endpoint_t * EndpointData = DESCRIPTOR_PCAST ( C urrConfigLocation , USB_Descriptor_Endpoint_t ) ;
/* Configure the keyboard data pipe */
/* Configure the keyboard data pipe */
Pipe_ConfigurePipe ( KEYBOARD_DATAPIPE , EP_TYPE_INTERRUPT , PIPE_TOKEN_IN ,
Pipe_ConfigurePipe ( KEYBOARD_DATAPIPE , EP_TYPE_INTERRUPT , PIPE_TOKEN_IN ,