Skip to content

Commit 3fe8e25

Browse files
Merge pull request #45 from rust-embedded/bugfix-l1-section-bitfield
fix bit position for non-global bit in L1 section
2 parents f13918e + bdd4104 commit 3fe8e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-ar/src/mmu.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ pub struct L1Section {
143143
#[bits(20..=31, rw)]
144144
base_addr: u12,
145145
/// Non-global bit.
146-
#[bit(16, rw)]
146+
#[bit(17, rw)]
147147
ng: bool,
148148
/// Shareable bit.
149149
#[bit(16, rw)]

0 commit comments

Comments
 (0)