diff --git a/bsp/stm32f107/usart.c b/bsp/stm32f107/usart.c index bc05e93c77122dcc442511ec04c91084e9b0af61..5c7144ec872ff041ee71a873d18836a258575e7a 100644 --- a/bsp/stm32f107/usart.c +++ b/bsp/stm32f107/usart.c @@ -186,9 +186,6 @@ static void NVIC_Configuration(void) { NVIC_InitTypeDef NVIC_InitStructure; - /* Configure the NVIC Preemption Priority Bits */ - NVIC_PriorityGroupConfig(NVIC_PriorityGroup_0); - #ifdef RT_USING_UART1 /* Enable the USART1 Interrupt */ NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn; diff --git a/bsp/stm32f10x/usart.c b/bsp/stm32f10x/usart.c index bc05e93c77122dcc442511ec04c91084e9b0af61..5c7144ec872ff041ee71a873d18836a258575e7a 100644 --- a/bsp/stm32f10x/usart.c +++ b/bsp/stm32f10x/usart.c @@ -186,9 +186,6 @@ static void NVIC_Configuration(void) { NVIC_InitTypeDef NVIC_InitStructure; - /* Configure the NVIC Preemption Priority Bits */ - NVIC_PriorityGroupConfig(NVIC_PriorityGroup_0); - #ifdef RT_USING_UART1 /* Enable the USART1 Interrupt */ NVIC_InitStructure.NVIC_IRQChannel = USART1_IRQn;