/* Sends the special Microsoft OS Compatibility Descriptor to the host PC, if the host is requesting it.  */
void CheckIfMSCompatibilityDescriptorRequest(void)
/* Sends the special Microsoft OS Compatibility Descriptor to the host PC, if the host is requesting it.  */
void CheckIfMSCompatibilityDescriptorRequest(void)
{
	if (USB_ControlRequest.bmRequestType == (REQDIR_DEVICETOHOST | REQTYPE_VENDOR | REQREC_DEVICE))
	{
		if (USB_ControlRequest.bRequest == VENDOR_REQUEST_ID_MS_COMPAT)
		{
			Endpoint_ClearSETUP();
			Endpoint_Write_Control_PStream_LE(&MSCompatibilityDescriptor, sizeof(MSCompatibilityDescriptor));
			Endpoint_ClearOUT();
		}
	}
}