diff options
| author | Henrik Alsér <[email protected]> | 2022-05-12 15:24:46 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-12 15:24:46 +0200 |
| commit | 0be9184efc8f814a19081c2176b8317bd5217f0f (patch) | |
| tree | 5b9469de15c0a1cc6e106a9a7455602e3bfaad17 /embassy-usb/src/descriptor.rs | |
| parent | 1ca5475010a1cae6ebc55a27948ca4320decd5cd (diff) | |
| parent | 30d4d0e9d78681e16a68ff953c61b96c9863bfc6 (diff) | |
Merge branch 'embassy-rs:master' into qdec
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 | ||
