diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-05-09 02:11:02 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-05-09 02:11:02 +0200 |
| commit | 7ed462a6575cba95e8f07d2d9516d5e7b33d7196 (patch) | |
| tree | ae0e68faea70a907bfb4488876ee179068f38f64 /embassy-usb/src/descriptor.rs | |
| parent | 2e104170de36295243608fbbebebdc6f52e8f8d0 (diff) | |
usb: simplify control in/out handlng, calling response from a single place.
Diffstat (limited to 'embassy-usb/src/descriptor.rs')
| -rw-r--r-- | embassy-usb/src/descriptor.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-usb/src/descriptor.rs b/embassy-usb/src/descriptor.rs index dce326780..7f23fd921 100644 --- a/embassy-usb/src/descriptor.rs +++ b/embassy-usb/src/descriptor.rs | |||
| @@ -244,6 +244,7 @@ impl<'a> DescriptorWriter<'a> { | |||
| 244 | } | 244 | } |
| 245 | 245 | ||
| 246 | /// Writes a string descriptor. | 246 | /// Writes a string descriptor. |
| 247 | #[allow(unused)] | ||
| 247 | pub(crate) fn string(&mut self, string: &str) { | 248 | pub(crate) fn string(&mut self, string: &str) { |
| 248 | let mut pos = self.position; | 249 | let mut pos = self.position; |
| 249 | 250 | ||
