Skip to content

Commit a9fb687

Browse files
authored
Compile the mpu::RegisterBlock struct on all targets
closes #336
1 parent 653d218 commit a9fb687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)