源码/核心板/Src/OnChipDevices/Rcc_Nvic_Systick.c
@@ -48,7 +48,7 @@ NVIC_PriorityGroupConfig(NVIC_PriorityGroup_4); /* Enable and set EXTI Interrupt to the lowest priority */ NVIC_InitStructure.NVIC_IRQChannel = EXTI2_IRQn; NVIC_InitStructure.NVIC_IRQChannel = DECAIRQ_EXTI_IRQn; NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 15; NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0; NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE; @@ -65,7 +65,7 @@ while (time_retry--); return 1; } NVIC_SetPriority (SysTick_IRQn, 5); NVIC_SetPriority(SysTick_IRQn, 5); return 0;