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