Add MS OS Compatibility descriptors to RNDIS demos for driverless install on Windows.
[pub/USBasp.git] / Demos / Device / LowLevel / RNDISEthernet / RNDISEthernet.c
index 80cde67..247458f 100644 (file)
@@ -130,6 +130,9 @@ void EVENT_USB_Device_ConfigurationChanged(void)
  */
 void EVENT_USB_Device_ControlRequest(void)
 {
+       /* Send MS OS Compatibility descriptor if requested by the host. */
+       CheckIfMSCompatibilityDescriptorRequest();
+
        /* Process RNDIS class commands */
        switch (USB_ControlRequest.bRequest)
        {