Browse Source

update stm32 uart driver

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1727 bbd45198-f89e-11dd-88c7-29a3b14d5316
wuyangyong 13 years ago
parent
commit
fef0997a37
2 changed files with 0 additions and 6 deletions
  1. 0 3
      bsp/stm32f107/usart.c
  2. 0 3
      bsp/stm32f10x/usart.c

+ 0 - 3
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;

+ 0 - 3
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;