Skip to content

Commit bb49576

Browse files
Merge #339
339: Fix AIRCR PRIGROUP mask r=thejpster a=msamsonoff Closes #338 Co-authored-by: Matthew W. Samsonoff <[email protected]>
2 parents 5e01de8 + cf75bbc commit bb49576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/peripheral/scb.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ impl SCB {
832832
}
833833

834834
const SCB_AIRCR_VECTKEY: u32 = 0x05FA << 16;
835-
const SCB_AIRCR_PRIGROUP_MASK: u32 = 0x5 << 8;
835+
const SCB_AIRCR_PRIGROUP_MASK: u32 = 0x7 << 8;
836836
const SCB_AIRCR_SYSRESETREQ: u32 = 1 << 2;
837837

838838
impl SCB {

0 commit comments

Comments
 (0)