aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/src/application.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-usb-dfu/src/application.rs')
-rw-r--r--embassy-usb-dfu/src/application.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/embassy-usb-dfu/src/application.rs b/embassy-usb-dfu/src/application.rs
index 52a7ca951..2646d100d 100644
--- a/embassy-usb-dfu/src/application.rs
+++ b/embassy-usb-dfu/src/application.rs
@@ -137,8 +137,9 @@ pub fn usb_dfu<'d, D: Driver<'d>, MARK: DfuMarker, RST: Reset>(
137 // We add MSOS headers so that the device automatically gets assigned the WinUSB driver on Windows. 137 // We add MSOS headers so that the device automatically gets assigned the WinUSB driver on Windows.
138 // Otherwise users need to do this manually using a tool like Zadig. 138 // Otherwise users need to do this manually using a tool like Zadig.
139 // 139 //
140 // Adding them here on the function level appears to only work for compositive devices though. 140 // Adding them here on the function level appears to only be needed for compositive devices.
141 // For non-composite devices they should be placed on the device level instead. 141 // In addition to being on the function level, they should also be added to the device level.
142 //
142 func.msos_feature(msos::CompatibleIdFeatureDescriptor::new("WINUSB", "")); 143 func.msos_feature(msos::CompatibleIdFeatureDescriptor::new("WINUSB", ""));
143 func.msos_feature(msos::RegistryPropertyFeatureDescriptor::new( 144 func.msos_feature(msos::RegistryPropertyFeatureDescriptor::new(
144 "DeviceInterfaceGUIDs", 145 "DeviceInterfaceGUIDs",