aboutsummaryrefslogtreecommitdiffstats
path: root/usbh/src/pipe/addr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'usbh/src/pipe/addr.rs')
-rw-r--r--usbh/src/pipe/addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/usbh/src/pipe/addr.rs b/usbh/src/pipe/addr.rs
index 81cef5d..aa26048 100644
--- a/usbh/src/pipe/addr.rs
+++ b/usbh/src/pipe/addr.rs
@@ -5,7 +5,7 @@
/// Reset: 0xxxxxxxxx
/// Property: NA
#[derive(Clone, Copy, Debug)]
-#[repr(C)]
+#[repr(C, packed)]
pub(crate) struct Addr(u32);
pub(crate) struct R {