迁移至 Arm Compiler 6
This commit is contained in:
@@ -154,7 +154,7 @@ void NVIC_Init(NVIC_InitTypeDef* NVIC_InitStruct)
|
||||
|
||||
tmppriority = tmppriority << 0x04;
|
||||
|
||||
NVIC->IP[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority;
|
||||
NVIC->IPR[NVIC_InitStruct->NVIC_IRQChannel] = tmppriority;
|
||||
|
||||
/* Enable the Selected IRQ Channels --------------------------------------*/
|
||||
NVIC->ISER[NVIC_InitStruct->NVIC_IRQChannel >> 0x05] =
|
||||
|
Reference in New Issue
Block a user