aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src/msos.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2025-12-18 00:14:47 +0000
committerGitHub <[email protected]>2025-12-18 00:14:47 +0000
commite2d9adc56481e97fa490c8c3cc05bdad0dbe22e4 (patch)
tree204dcf5a628e7550b21363e2d20274204515ed5c /embassy-usb/src/msos.rs
parent10630047153a8246573191d53d5ac571a3750117 (diff)
parent14d847e1b26ec35b91af50c573af32551437456c (diff)
Merge pull request #5093 from rukai/fix_rp_web_usb_example_on_windows
Fix rp webusb example on windows
Diffstat (limited to 'embassy-usb/src/msos.rs')
-rw-r--r--embassy-usb/src/msos.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/embassy-usb/src/msos.rs b/embassy-usb/src/msos.rs
index 66689871e..6d7f87061 100644
--- a/embassy-usb/src/msos.rs
+++ b/embassy-usb/src/msos.rs
@@ -110,10 +110,6 @@ impl<'d> MsOsDescriptorWriter<'d> {
110 !self.is_empty(), 110 !self.is_empty(),
111 "device features may only be added after the header is written" 111 "device features may only be added after the header is written"
112 ); 112 );
113 assert!(
114 self.config_mark.is_none(),
115 "device features must be added before the first configuration subset"
116 );
117 self.write(desc); 113 self.write(desc);
118 } 114 }
119 115