/* Reads in and discards the next report from the attached device.  */
void DiscardNextReport(void)
/* Reads in and discards the next report from the attached device.  */
void DiscardNextReport(void)
{
	if (USB_HostState != HOST_STATE_Configured)
	  return;
	Pipe_SelectPipe(HID_DATA_IN_PIPE);
	Pipe_Unfreeze();
	if (!(Pipe_IsINReceived()))
	{
		Pipe_Freeze();
		return;
	}
	Pipe_ClearIN();
	Pipe_Freeze();
}