usb: add -usb-serial crate, fix warnings and stable build.

This commit is contained in:
Dario Nieuwenhuis
2022-03-30 01:18:37 +02:00
parent c06488eb29
commit d1e4b3d7d5
15 changed files with 265 additions and 27 deletions

View File

@ -136,6 +136,7 @@ impl<'a> DescriptorWriter<'a> {
)
}
#[allow(unused)]
pub(crate) fn end_class(&mut self) {
self.num_endpoints_mark = None;
}