Skip to content

Commit cf75bbc

Browse files
committedApr 19, 2021
Fix AIRCR PRIGROUP mask
1 parent 87f6c01 commit cf75bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎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)
Please sign in to comment.