Skip to content

Commit

Permalink
Compile the mpu::RegisterBlock struct on all targets
Browse files Browse the repository at this point in the history
closes #336
  • Loading branch information
dimpolo committed Mar 19, 2021
1 parent 653d218 commit a9fb687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peripheral/mpu.rs
Expand Up @@ -3,7 +3,7 @@
use volatile_register::{RO, RW};

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

0 comments on commit a9fb687

Please sign in to comment.