Skip to content

Commit 87f6c01

Browse files
bors[bot]dimpolo
andauthored
Merge #337
337: Compile the `mpu::RegisterBlock` struct on all targets r=adamgreig a=dimpolo closes #336 Co-authored-by: dimpolo <[email protected]>
2 parents 653d218 + a9fb687 commit 87f6c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/peripheral/mpu.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use volatile_register::{RO, RW};
44

55
/// Register block for ARMv7-M
6-
#[cfg(any(armv6m, armv7m, target_arch = "x86_64"))] // x86-64 is for rustdoc
6+
#[cfg(not(armv8m))]
77
#[repr(C)]
88
pub struct RegisterBlock {
99
/// Type

0 commit comments

Comments
 (0)