projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add MS OS Compatibility descriptors to RNDIS demos for driverless install on Windows.
[pub/USBasp.git]
/
Projects
/
Webserver
/
USBDeviceMode.c
diff --git
a/Projects/Webserver/USBDeviceMode.c
b/Projects/Webserver/USBDeviceMode.c
index
5472914
..
267e42c
100644
(file)
--- a/
Projects/Webserver/USBDeviceMode.c
+++ b/
Projects/Webserver/USBDeviceMode.c
@@
-141,6
+141,9
@@
void EVENT_USB_Device_ConfigurationChanged(void)
/** Event handler for the library USB Control Request reception event. */
void EVENT_USB_Device_ControlRequest(void)
{
/** Event handler for the library USB Control Request reception event. */
void EVENT_USB_Device_ControlRequest(void)
{
+ /* Send MS OS Compatibility descriptor if requested by the host. */
+ CheckIfMSCompatibilityDescriptorRequest();
+
RNDIS_Device_ProcessControlRequest(&Ethernet_RNDIS_Interface_Device);
MS_Device_ProcessControlRequest(&Disk_MS_Interface);
}
RNDIS_Device_ProcessControlRequest(&Ethernet_RNDIS_Interface_Device);
MS_Device_ProcessControlRequest(&Disk_MS_Interface);
}