From fef0997a379294aa96aacd2b112a190856afa1ae Mon Sep 17 00:00:00 2001 From: wuyangyong Date: Sat, 24 Sep 2011 17:15:22 +0000 Subject: [PATCH] update stm32 uart driver git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1727 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- bsp/stm32f107/usart.c | 3 --- bsp/stm32f10x/usart.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/bsp/stm32f107/usart.c b/bsp/stm32f107/usart.c index bc05e93c77..5c7144ec87 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 bc05e93c77..5c7144ec87 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;