From a108008263c8c8fe80921e549346b78462b76036 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Wed, 25 Jun 2008 11:54:00 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@322 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- ports/ARMCM3-STM32F103/stm32_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ports') diff --git a/ports/ARMCM3-STM32F103/stm32_serial.c b/ports/ARMCM3-STM32F103/stm32_serial.c index 300cdfdce..148453b48 100644 --- a/ports/ARMCM3-STM32F103/stm32_serial.c +++ b/ports/ARMCM3-STM32F103/stm32_serial.c @@ -174,7 +174,7 @@ void InitSerial(uint32_t prio1, uint32_t prio2, uint32_t prio3) { #ifdef USE_USART1 chFDDInit(&COM1, ib1, sizeof ib1, NULL, ob1, sizeof ob1, OutNotify1); - RCC->APB2ENR |= 0x00002000; + RCC->APB2ENR |= 0x00004000; SetUSARTI(USART1, 38400, 0, CR2_STOP1_BITS | CR2_LINEN, 0); GPIOA->CRH = (GPIOA->CRH & 0xFFFFF00F) | 0x000004B0; NVICEnableVector(USART1_IRQChannel, prio1); -- cgit v1.2.3