aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/examples/device.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/examples/device.rs')
-rw-r--r--cortex-m-rt/examples/device.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cortex-m-rt/examples/device.rs b/cortex-m-rt/examples/device.rs
index c18b569..02a60c8 100644
--- a/cortex-m-rt/examples/device.rs
+++ b/cortex-m-rt/examples/device.rs
@@ -16,6 +16,7 @@ fn main() -> ! {
}
// interrupts portion of the vector table
+#[repr(C)]
pub union Vector {
handler: unsafe extern "C" fn(),
reserved: usize,