Skip to content

Commit 331b8df

Browse files
committed
register field rename as suggested
1 parent ce8755a commit 331b8df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/peripheral/dwt.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,13 @@ pub struct RegisterBlock {
3737
pub pcsr: RO<u32>,
3838
/// Comparators
3939
#[cfg(armv6m)]
40-
pub comp: [Comparator<NoCycleCompare>; 2],
40+
pub comps: [Comparator<NoCycleCompare>; 2],
4141
#[cfg(not(armv6m))]
4242
/// Cycle count compare enabled Comparator
4343
pub comp0: Comparator<HasCycleCompare>,
4444
#[cfg(not(armv6m))]
4545
/// Comparators
46-
pub comp: [Comparator<NoCycleCompare>; 15],
46+
pub comps: [Comparator<NoCycleCompare>; 15],
4747
#[cfg(not(armv6m))]
4848
reserved: [u32; 932],
4949
/// Lock Access

0 commit comments

Comments
 (0)