Merge pull request #1344 from timgates42/bugfix_typo_priority

docs: fix simple typo, priorty -> priority
This commit is contained in:
Sergey Lyubka authored and GitHub committed 2021-08-28 08:37:26 +01:00
commit e653147119
1 file changed
+1 -1
@@ -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;
}