aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb/src
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-07-25 15:53:00 +0200
committerDario Nieuwenhuis <[email protected]>2024-07-25 15:53:00 +0200
commit2d678d695637ed1023fd80fea482d60a288e4343 (patch)
treee31b0d20672194e7c3c3f190835d10e46f200dd5 /embassy-usb/src
parent8b4bb625be86e7c199a14ceffbed7ad87b99a8db (diff)
Update to Rust 1.80, make check-cfg unconditional.
Diffstat (limited to 'embassy-usb/src')
-rw-r--r--embassy-usb/src/msos.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/embassy-usb/src/msos.rs b/embassy-usb/src/msos.rs
index 25936d084..9f4e1a57b 100644
--- a/embassy-usb/src/msos.rs
+++ b/embassy-usb/src/msos.rs
@@ -278,6 +278,7 @@ pub enum DescriptorType {
278 278
279/// Table 5. Descriptor set information structure. 279/// Table 5. Descriptor set information structure.
280#[allow(non_snake_case)] 280#[allow(non_snake_case)]
281#[allow(unused)]
281#[repr(C, packed(1))] 282#[repr(C, packed(1))]
282pub struct DescriptorSetInformation { 283pub struct DescriptorSetInformation {
283 dwWindowsVersion: u32, 284 dwWindowsVersion: u32,
@@ -288,6 +289,7 @@ pub struct DescriptorSetInformation {
288 289
289/// Table 4. Microsoft OS 2.0 platform capability descriptor header. 290/// Table 4. Microsoft OS 2.0 platform capability descriptor header.
290#[allow(non_snake_case)] 291#[allow(non_snake_case)]
292#[allow(unused)]
291#[repr(C, packed(1))] 293#[repr(C, packed(1))]
292pub struct PlatformDescriptor { 294pub struct PlatformDescriptor {
293 bLength: u8, 295 bLength: u8,