aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-dfu/src/dfu.rs
diff options
context:
space:
mode:
Diffstat (limited to 'embassy-usb-dfu/src/dfu.rs')
-rw-r--r--embassy-usb-dfu/src/dfu.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/embassy-usb-dfu/src/dfu.rs b/embassy-usb-dfu/src/dfu.rs
index 83feacaf8..43a35637d 100644
--- a/embassy-usb-dfu/src/dfu.rs
+++ b/embassy-usb-dfu/src/dfu.rs
@@ -193,8 +193,9 @@ pub fn usb_dfu<'d, D: Driver<'d>, DFU: NorFlash, STATE: NorFlash, RST: Reset, co
193 // We add MSOS headers so that the device automatically gets assigned the WinUSB driver on Windows. 193 // We add MSOS headers so that the device automatically gets assigned the WinUSB driver on Windows.
194 // Otherwise users need to do this manually using a tool like Zadig. 194 // Otherwise users need to do this manually using a tool like Zadig.
195 // 195 //
196 // Adding them here on the function level appears to only work for compositive devices though. 196 // Adding them here on the function level appears to only be needed for compositive devices.
197 // For non-composite devices they should be placed on the device level instead. 197 // In addition to being on the function level, they should also be added to the device level.
198 //
198 func.msos_feature(msos::CompatibleIdFeatureDescriptor::new("WINUSB", "")); 199 func.msos_feature(msos::CompatibleIdFeatureDescriptor::new("WINUSB", ""));
199 func.msos_feature(msos::RegistryPropertyFeatureDescriptor::new( 200 func.msos_feature(msos::RegistryPropertyFeatureDescriptor::new(
200 "DeviceInterfaceGUIDs", 201 "DeviceInterfaceGUIDs",