diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-01 15:29:17 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-01 15:29:17 +0000 |
commit | 307e9891e40e46b08cd15690da8fff1657172915 (patch) | |
tree | 0b62c8e7972e24320c1091d957f7a2764de829dc /os/hal/platforms/STM32/serial_lld.c | |
parent | f8c40043e469d81f2a9f380d6723b92c79bd30bc (diff) | |
download | ChibiOS-307e9891e40e46b08cd15690da8fff1657172915.tar.gz ChibiOS-307e9891e40e46b08cd15690da8fff1657172915.tar.bz2 ChibiOS-307e9891e40e46b08cd15690da8fff1657172915.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1486 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/serial_lld.c')
-rw-r--r-- | os/hal/platforms/STM32/serial_lld.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/serial_lld.c b/os/hal/platforms/STM32/serial_lld.c index 6d28fe71f..6a9f71673 100644 --- a/os/hal/platforms/STM32/serial_lld.c +++ b/os/hal/platforms/STM32/serial_lld.c @@ -264,21 +264,18 @@ void sd_lld_start(SerialDriver *sdp) { if (&SD1 == sdp) {
RCC->APB2ENR |= RCC_APB2ENR_USART1EN;
NVICEnableVector(USART1_IRQn, STM32_USART1_PRIORITY);
- return;
}
#endif
#if USE_STM32_USART2
if (&SD2 == sdp) {
RCC->APB1ENR |= RCC_APB1ENR_USART2EN;
NVICEnableVector(USART2_IRQn, STM32_USART2_PRIORITY);
- return;
}
#endif
#if USE_STM32_USART3
if (&SD3 == sdp) {
RCC->APB1ENR |= RCC_APB1ENR_USART3EN;
NVICEnableVector(USART3_IRQn, STM32_USART3_PRIORITY);
- return;
}
#endif
}
|