usb: simplify control in/out handlng, calling response from a single place.
This commit is contained in:
@ -244,6 +244,7 @@ impl<'a> DescriptorWriter<'a> {
|
||||
}
|
||||
|
||||
/// Writes a string descriptor.
|
||||
#[allow(unused)]
|
||||
pub(crate) fn string(&mut self, string: &str) {
|
||||
let mut pos = self.position;
|
||||
|
||||
|
Reference in New Issue
Block a user