Skip to content

Commit 58b5367

Browse files
committed
unbreak test
1 parent c0e7dcb commit 58b5367

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/peripheral/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ pub struct Cpuid {
104104
pub isar: [RO<u32>; 5],
105105
reserved1: u32,
106106
/// Cache Level ID
107-
#[cfg(armv7m)]
107+
#[cfg(any(armv7m, test))]
108108
pub clidr: RO<u32>,
109109
/// Cache Type
110-
#[cfg(armv7m)]
110+
#[cfg(any(armv7m, test))]
111111
pub ctr: RO<u32>,
112112
/// Cache Size ID
113-
#[cfg(armv7m)]
113+
#[cfg(any(armv7m, test))]
114114
pub ccsidr: RO<u32>,
115115
/// Cache Size Selection
116-
#[cfg(armv7m)]
116+
#[cfg(any(armv7m, test))]
117117
pub csselr: RW<u32>,
118118
}
119119

0 commit comments

Comments
 (0)