Merge pull request #1344 from timgates42/bugfix_typo_priority

docs: fix simple typo, priorty -> priority
This commit is contained in:
Sergey Lyubka 2021-08-28 08:37:26 +01:00 committed by GitHub
commit e653147119
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1810,7 +1810,7 @@ __STATIC_INLINE void NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to change */
reg_value = (reg_value |
((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
(PriorityGroupTmp << 8U) ); /* Insert write key and priorty group */
(PriorityGroupTmp << 8U) ); /* Insert write key and priority group */
SCB->AIRCR = reg_value;
}