diff options
| author | wuyangyong <[email protected]> | 2011-09-24 17:15:22 +0000 |
|---|---|---|
| committer | wuyangyong <[email protected]> | 2011-09-24 17:15:22 +0000 |
| commit | fef0997a379294aa96aacd2b112a190856afa1ae (patch) | |
| tree | 1c51618b04514ed1bf751e77bbf9b42cfdb8ad0a | |
| parent | 10e4847880ab095108bb9cd56c07ea650edbb51b (diff) | |
update stm32 uart driver
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1727 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | bsp/stm32f107/usart.c | 3 | ||||
| -rw-r--r-- | bsp/stm32f10x/usart.c | 3 |
2 files changed, 0 insertions, 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;
|
