diff --git a/examples/stm32-freertos-tcp/stm32f7/core_cm7.h b/examples/stm32-freertos-tcp/stm32f7/core_cm7.h index 20963c14..37c4b7de 100644 --- a/examples/stm32-freertos-tcp/stm32f7/core_cm7.h +++ b/examples/stm32-freertos-tcp/stm32f7/core_cm7.h @@ -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; }