diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-06-25 11:54:00 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-06-25 11:54:00 +0000 |
commit | a108008263c8c8fe80921e549346b78462b76036 (patch) | |
tree | 4c2c39f8ecc65c2017b969438b29f9c7fe5dcec8 /ports | |
parent | 2e5d8edd7c44d320bd07f472e235b54e9668270d (diff) | |
download | ChibiOS-a108008263c8c8fe80921e549346b78462b76036.tar.gz ChibiOS-a108008263c8c8fe80921e549346b78462b76036.tar.bz2 ChibiOS-a108008263c8c8fe80921e549346b78462b76036.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@322 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ARMCM3-STM32F103/stm32_serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|