File tree Expand file tree Collapse file tree
device/usb-bulk-stm32-nucleo-u545re/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,12 +83,12 @@ async fn main(_spawner: Spawner) {
8383 // can be used by libusb/rusb software without needing a custom driver or INF file.
8484 // In principle you might want to call msos_feature() just on a specific function,
8585 // if your device also has other functions that still use standard class drivers.
86- // builder.msos_descriptor(windows_version::WIN8_1, 0);
87- // builder.msos_feature(msos::CompatibleIdFeatureDescriptor::new("WINUSB", ""));
88- // builder.msos_feature(msos::RegistryPropertyFeatureDescriptor::new(
89- // "DeviceInterfaceGUIDs",
90- // msos::PropertyData::RegMultiSz(DEVICE_INTERFACE_GUIDS),
91- // ));
86+ builder. msos_descriptor ( windows_version:: WIN8_1 , 0 ) ;
87+ builder. msos_feature ( msos:: CompatibleIdFeatureDescriptor :: new ( "WINUSB" , "" ) ) ;
88+ builder. msos_feature ( msos:: RegistryPropertyFeatureDescriptor :: new (
89+ "DeviceInterfaceGUIDs" ,
90+ msos:: PropertyData :: RegMultiSz ( DEVICE_INTERFACE_GUIDS ) ,
91+ ) ) ;
9292
9393 // Add a vendor-specific function (class 0xFF), and corresponding interface,
9494 // that uses our custom handler.
You can’t perform that action at this time.
0 commit comments